rbs%maths.uq.edu.au
65b18dd380
fix inverted order of resetting variables
...
git-svn-id: svn://10.0.0.236/trunk@114258 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:18:04 +00:00
rbs%maths.uq.edu.au
4568af87c6
Replace the XXX comments dating back from bug 45010 with a long lasting fix
...
git-svn-id: svn://10.0.0.236/trunk@114075 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:48:38 +00:00
rbs%maths.uq.edu.au
bd68ffc1b2
Updated comments
...
git-svn-id: svn://10.0.0.236/trunk@113957 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:58:15 +00:00
rbs%maths.uq.edu.au
d1ca5d58ef
Opted to move a functionality to the specialized class where it belongs
...
git-svn-id: svn://10.0.0.236/trunk@113956 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:57:39 +00:00
rbs%maths.uq.edu.au
2ee0b2741d
By definition <mi> renders in italic type when its textual content consists of a single char, and in normal type when it consists of mutiple chars. This is a fix to re-resolve the style data properly when the text content (and its length) get changed back and forth dynamically
...
git-svn-id: svn://10.0.0.236/trunk@113954 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:53:19 +00:00
rbs%maths.uq.edu.au
976682cd75
[MathML only - candidate version for 0.9x] * Hooked robust support for advanced dynamic updates via JavaScript and the DOM across the entire MathML module (with particular attention to the numerous presentational attributes that MathML has). * Eliminated some functions (or folded their functionality into recently added APIs). * Reviewed the module as a whole and simplified several chunks of code owing to the benefit of hindsight now. * Added/reviewed the documentation in anticipation of the freezing of Mozilla 1.0, to improve the understanding of people that may read the archived code and learn from it under the appropriate context of this time. * Reviewed the XXX comments and addressed those that could be addressable in this timeframe. * Some renamings (e.g., ReLayout -> ReLayoutChildren to avoid ambiguities as to who does what in terms of the terminology used when referring to the frame hierarchy).
...
git-svn-id: svn://10.0.0.236/trunk@113879 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:38:08 +00:00
rbs%maths.uq.edu.au
fe7bb4aef5
Using the recently added APIs to respond to dynamic changes: a _much_ simpler (re)fix of bug 114909 - dynamically changing displaystyle attribute in <mstyle> tag doesn't change display
...
git-svn-id: svn://10.0.0.236/trunk@113582 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 21:15:29 +00:00
rbs%maths.uq.edu.au
bc9ff10418
Add ReLayout() - a driver that hides the details needed to re-sync a frame subtree in case of dynamic changes: rebuild of automatic data, re-resolve script styles, fire a reflow
...
git-svn-id: svn://10.0.0.236/trunk@113581 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 21:06:51 +00:00
rbs%maths.uq.edu.au
de6635197e
slight simplification - the removal will recurse down to the wrapped child
...
git-svn-id: svn://10.0.0.236/trunk@113580 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 20:11:37 +00:00
rbs%maths.uq.edu.au
2ff8bf1765
Continuing to factor handlers to rebuild automatic data during dynamic changes
...
git-svn-id: svn://10.0.0.236/trunk@113515 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 05:43:03 +00:00
rbs%maths.uq.edu.au
ef52d88af3
Added two APIs, InheritAutomaticData() & TransmitAutomaticData(), to respond to dynamic changes that affect automatic data (i.e., data inferred from the actual definition of each MathML tag). The computation of the data was so far mostly locked in Init() and SetInitialChildList() which are meant to be called only once in the life-time of a frame. Factored this computation into the two APIs to be used to rebuild the data, and which can be called repeatedly as appropriate, when dynamic changes arise in the content model. Shuffled code to stay in sync and consolidated the hooks used dynamic changes with the APIs
...
git-svn-id: svn://10.0.0.236/trunk@113421 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 15:10:50 +00:00
rbs%maths.uq.edu.au
72fc39cdaf
activate the rhelper to wrap foreign frames
...
git-svn-id: svn://10.0.0.236/trunk@113416 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:31:21 +00:00
rbs%maths.uq.edu.au
7c7c9f7ebf
Helper class use for wrapping non-MathML elements (e.g., html:img) so that they can mix better with other surrounding MathML markups. Factored previous code here and added hooks that were needed for child list operations
...
git-svn-id: svn://10.0.0.236/trunk@113415 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:23:07 +00:00
mkaply%us.ibm.com
01abf4b33b
Add PR_CALLBACK to get MathML building on OS/2
...
git-svn-id: svn://10.0.0.236/trunk@113059 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 23:24:17 +00:00
rbs%maths.uq.edu.au
8df8af8ad7
revert an unintended change that crept in
...
git-svn-id: svn://10.0.0.236/trunk@113009 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 22:23:07 +00:00
rbs%maths.uq.edu.au
20005cee47
Another renaming for ease of readability: s/core/coreFrame/g and s/next/nextFrame/g
...
git-svn-id: svn://10.0.0.236/trunk@113008 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 22:10:45 +00:00
rbs%maths.uq.edu.au
979dc04ba6
When looking up the real sibling of a cell, use colspan/rowspan (instead of just 1) as the increment to cater for cases of spanning cells in the cellmap
...
git-svn-id: svn://10.0.0.236/trunk@113004 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 19:26:42 +00:00
rbs%maths.uq.edu.au
0d04e79f72
typos
...
git-svn-id: svn://10.0.0.236/trunk@112879 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 21:57:47 +00:00
rbs%maths.uq.edu.au
eb3171a2b2
Remove leftover from debugging
...
git-svn-id: svn://10.0.0.236/trunk@112848 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 07:34:49 +00:00
rbs%maths.uq.edu.au
3e1abbf64e
Improvements to <mtable>
...
git-svn-id: svn://10.0.0.236/trunk@112846 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 07:03:43 +00:00
rbs%maths.uq.edu.au
d2bc946058
In case of markup errors, provide a more discoverable feedback to users. Drop in the other functions from the nsIFrame APIs that steve.swanson@mackichan.com needs to consolidate his Dynamic JavaScripted MathML editor
...
git-svn-id: svn://10.0.0.236/trunk@112845 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 06:48:30 +00:00
rbs%maths.uq.edu.au
6fdf561c89
Fix MathML bug 121037. Background-color is not showing up in stretchy chars that use additional leaf style contexts. More reliable recovery from the background revamps in bug 116161
...
git-svn-id: svn://10.0.0.236/trunk@112843 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 06:08:03 +00:00
rbs%maths.uq.edu.au
2c9a8320c7
Updated comments to add a reference to bug 69325 which details the 8 possible cases that may arise depending on whether displaystyle, largeop, stretchy are true or false
...
git-svn-id: svn://10.0.0.236/trunk@112842 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 06:02:52 +00:00
rbs%maths.uq.edu.au
afd0870f33
Fix regression from the fix for bug 116161. The picky treatment of stretchy MathML characters involves additional style contexts whereas the default search of the background stops at the primary style context
...
git-svn-id: svn://10.0.0.236/trunk@112166 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 07:48:10 +00:00
rbs%maths.uq.edu.au
029a8691e9
Additional reduction of code size by using a helper to propagate the update of presentation data in a range of child frames
...
git-svn-id: svn://10.0.0.236/trunk@112047 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 00:55:53 +00:00
rbs%maths.uq.edu.au
9389ef38e6
Continuation of tyding
...
git-svn-id: svn://10.0.0.236/trunk@112020 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 08:06:08 +00:00
rbs%maths.uq.edu.au
486cb07a88
Compact code - use a helper function for a re-usable chunk of code
...
git-svn-id: svn://10.0.0.236/trunk@112011 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:04:14 +00:00
rbs%maths.uq.edu.au
c264cfec89
Some tweaks
...
git-svn-id: svn://10.0.0.236/trunk@111934 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 05:08:11 +00:00
rbs%maths.uq.edu.au
fa4baaf863
Alert! MissingMathML fonts. Here goes the prompt that the user will see when it is detected that crucial stretchy MathML fonts are not installed. The list of those fonts that are missing is shown so that the user can install them. The message is hardcoded and would need to be localized
...
git-svn-id: svn://10.0.0.236/trunk@111922 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 02:57:03 +00:00
rbs%maths.uq.edu.au
526b3dfa82
[MathML only] Rename the pointer on the embellished operator from |firstChild| to |next| because it is more clearer with the latter that it is an hierarchy. Also made the inheritance of the displaystyle more reliable by walking up to the root <math> tag if necessary, e.g., if a MathML frame happens to be surrounded by non-MathML helper frames needed for its support
...
git-svn-id: svn://10.0.0.236/trunk@111885 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 23:40:40 +00:00
rbs%maths.uq.edu.au
7a9d642ace
Finishing touch to MathML bug 114909
...
git-svn-id: svn://10.0.0.236/trunk@111852 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 21:30:41 +00:00
rbs%maths.uq.edu.au
8dbb385e2b
Fix MathML bug 114909 - dynamically changing the displaystyle attribute in <mstyle> tag doesn't change display
...
git-svn-id: svn://10.0.0.236/trunk@111791 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 04:42:55 +00:00
rbs%maths.uq.edu.au
ba5c4f48d6
[MathML only] shuffle shared functions between files to balance the weights of the files
...
git-svn-id: svn://10.0.0.236/trunk@111711 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 18:51:30 +00:00
rbs%maths.uq.edu.au
38aa2bbb0e
MathML bug 118475 - Allow stretchy MathML fonts to be customized via the pref system
...
git-svn-id: svn://10.0.0.236/trunk@111540 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 02:15:23 +00:00
dbaron%fas.harvard.edu
b7194a0ea8
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
rbs%maths.uq.edu.au
7a64f138ef
Move a getter to the safer place where the font was just set in the rendering context (its state could change, who knows)
...
git-svn-id: svn://10.0.0.236/trunk@111455 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 19:50:51 +00:00
rbs%maths.uq.edu.au
88ddfc7837
Add an additional clause when picking the desired stretchy size in the self-stretch situation, and give more descriptive comments
...
git-svn-id: svn://10.0.0.236/trunk@111454 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 19:47:24 +00:00
rbs%maths.uq.edu.au
58f556187d
Simple cleanup
...
git-svn-id: svn://10.0.0.236/trunk@111453 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 19:42:08 +00:00
rbs%maths.uq.edu.au
2fb4fefee6
Fix leaky style context
...
git-svn-id: svn://10.0.0.236/trunk@111452 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 19:40:04 +00:00
rbs%maths.uq.edu.au
e3c0cb6448
MathML only - Further tweaks to getting the preferred stretchy size. Decide that the core <mo> is the provider of the 'em' unit for the lspace & rspace of embellished containers. Add support of the 'bevelled' attribute in <mfrac> by leveraging on the code of <mfenced>
...
git-svn-id: svn://10.0.0.236/trunk@111385 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 01:15:04 +00:00
rbs%maths.uq.edu.au
d1382b9071
MathML only - remove outdated APIs
...
git-svn-id: svn://10.0.0.236/trunk@111383 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 01:08:09 +00:00
rbs%maths.uq.edu.au
3a31fba4c6
MathML only - Reset the stretchy flags also when presentation data get changed
...
git-svn-id: svn://10.0.0.236/trunk@111382 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 01:06:05 +00:00
rbs%maths.uq.edu.au
35b346c868
Reset the stretchy flags of underscript/overscript frames when their geometry is expected to be like subscript/superscirpt frames
...
git-svn-id: svn://10.0.0.236/trunk@111326 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 23:18:01 +00:00
rbs%maths.uq.edu.au
2e60cd080a
Follow-up to MathML bug 117652 - additional tweak to the preferred stretchy size for the case where the direction of stretching varies during the descend
...
git-svn-id: svn://10.0.0.236/trunk@111257 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-02 22:42:52 +00:00
rbs%maths.uq.edu.au
c90fae15f1
MathML bug 117652 - Tune the preferred stretchy size of stretchy containers by controlling the inclusion/exclusion of embellishments in the calculations, and defer the stretching of siblings until after finishing treating the embellished child
...
git-svn-id: svn://10.0.0.236/trunk@111229 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-02 05:32:33 +00:00
rjesup%wgate.com
15d98882e8
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
rbs%maths.uq.edu.au
d2d79b97e3
Fix MathML bug 112874 - dynamic change of background color MathML element change layout
...
git-svn-id: svn://10.0.0.236/trunk@110706 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 10:11:42 +00:00
seawood%netscape.com
0bd62df729
Landing the rest of the win32 gmake changes:
...
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup
Bug #58981 r=mcafee
git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
seawood%netscape.com
a87da48ec7
Can't call getter_AddRefs on a non-nsCOMPtr object. This should fix it. No, really!
...
git-svn-id: svn://10.0.0.236/trunk@110697 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 06:48:32 +00:00
seawood%netscape.com
047a5fe867
Fixing more 115113 mathml bustage.
...
git-svn-id: svn://10.0.0.236/trunk@110696 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 06:36:17 +00:00