bzbarsky%mit.edu
2e99df36cd
Fix ReplaceChild() on positioned inlines to delegate to
...
nsAbsoluteContainingBlock.h. Bug 176915, r=dbaron, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@133620 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 03:30:13 +00:00
bzbarsky%mit.edu
a70a392a2c
Make GetParent on nsStyleContext return an
...
already_AddRefed<nsIStyleContext>. Bug 171808, r=jkeiser, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@131531 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:46:15 +00:00
roc+%cs.cmu.edu
c6bb83f66a
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
rbs%maths.uq.edu.au
a0fbf5f0ca
Merge mi/ms/mtext in a single token class and make mo inherit from the token class. The merge allows centralizing the special treatment needed for their child text frames that are non-MathML, b=162412, r=roc+moz, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@127492 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 21:36:31 +00:00
dbaron%fas.harvard.edu
e8821b1085
Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
...
git-svn-id: svn://10.0.0.236/trunk@127461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:52:20 +00:00
rbs%maths.uq.edu.au
8e78dce3cf
bug 133761 - substitute leading _ with trailing _ for pure C/C++ compliance (uber-nit of brendan)
...
git-svn-id: svn://10.0.0.236/trunk@127115 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 00:52:38 +00:00
rbs%maths.uq.edu.au
10d3520e0c
Improve the handling of the inter-space around invisible MathML characters, b=133761, r=roc+moz, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@127110 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 23:30:35 +00:00
karnaze%netscape.com
49e0a9f4cb
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
shanjian%netscape.com
a9c700ad59
#142562 problem with <td align=right or align=center
...
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122131 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 20:11:14 +00:00
jst%netscape.com
0e34136ef1
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
rbs%maths.uq.edu.au
ed6af20424
sync the CSS mapping of MathML attributes that affect the style (e.g. color) when these attributes are changed dynamically, b=142592, r=roc, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@121587 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 01:11:09 +00:00
waterson%netscape.com
5bae3657e6
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
rbs%maths.uq.edu.au
d21c5c6672
Added yet another defense to make Mozilla really robust when font resources run out, the patch makes font metrics to be fail safe or at least very hard to break -- to the point that failure means that the system is barely working (testing showed that Mozilla stayed alive while other applications were dying). Per request of super-reviewer & driver, also removed wallpaper null-checks sprinkled in the past for the problem. b=136248, r=shanjian, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@120592 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:24:59 +00:00
rbs%maths.uq.edu.au
ce94e89c25
bug 121748 - stretch fences at a size that fully covers non-fences. Also improve the height of token elements such as <mi> when they involve symbol fonts with weird metrics, r=roc+moz, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@120421 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 05:47:15 +00:00
rbs%maths.uq.edu.au
981693a06a
Generous null checks to protect against crashes, and removal on a debug-only only function, b=132492, r=dbaron, sr=attinasi, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117896 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 03:57:56 +00:00
dbaron%fas.harvard.edu
94075d45c2
Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +00:00
rbs%maths.uq.edu.au
07186d47ad
bug 126619 - fixups for the final metrics of certain MathML characters, and add transliteration for U+2212 the official Unicode minus sign (ongoing bug 119664), r=roc+moz, rs=attinasi/blizzard, a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@115399 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:35:27 +00:00
rbs%maths.uq.edu.au
27e6f13d75
Add support for MathML styling attributes (e.g., color, fontsize, etc) by creating an internal attribute stylesheet on the fly, and populating it by mapping attributes to CSS rules as frames get created. This is a work-around to bug 69409 which is is not scheduled to be addressed by the Gecko team anytime soon. Also Cleaned-up the debug rules in mathml.css and removed the (in)famous red color of <mi>
...
git-svn-id: svn://10.0.0.236/trunk@114503 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 12:26:43 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
waterson%netscape.com
b6978c3e09
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com
436d43f211
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
...
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
karnaze%netscape.com
d8577654db
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
rbs%maths.uq.edu.au
410c9e51f2
bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@106728 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:58:00 +00:00
karnaze%netscape.com
1540a4c12e
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
hyatt%netscape.com
4f51638ef4
Fix for 95475. r=jag, sr=ben, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
bryner%netscape.com
7b3ce3a03b
Fixing mathml bustage.
...
git-svn-id: svn://10.0.0.236/trunk@101290 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 09:54:04 +00:00
jaggernaut%netscape.com
51b17b5bf0
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
rbs%maths.uq.edu.au
589ac66d85
Ignorable whitespace frames are gone - Additions to the inter-frame spacing - Typos - Rework the style of scripting elements - fix for bugs 67451,15402 - this check-in was contingent on the check-in for bug 68411 - sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@87817 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 16:10:51 +00:00