540 Commits

Author SHA1 Message Date
karlt+%karlt.net
195a82f674 Include lspace and rspace in GetIntrinsicWidth. b=363240 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@246666 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 10:47:43 +00:00
karlt+%karlt.net
b17c856971 Get*Width for nsMathMLContainerFrame base class. b=363240 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@246664 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 10:45:36 +00:00
karlt+%karlt.net
8428f09fe1 don't use frame origin offsets to store ascents. b=363240, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@246503 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 04:19:36 +00:00
jag%tty.nl
bc91d919a7 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
git-svn-id: svn://10.0.0.236/trunk@245897 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-18 08:50:33 +00:00
roc+%cs.cmu.edu
90145b86f7 Bug 412237. Don't parse negative sizes for the MathML fontsize attribute. Make sure we do continue to parse '-0px', since that's not actually negative. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@245077 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 04:09:03 +00:00
roc+%cs.cmu.edu
1f3a491c9d Backing out bug 412237 due to regression test failure
git-svn-id: svn://10.0.0.236/trunk@244419 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 00:41:00 +00:00
roc+%cs.cmu.edu
ad8e563376 Bug 412237. Don't parse negative fontsize attributes in MathML elements. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@244406 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 23:35:27 +00:00
mats.palmgren%bredband.net
62fbc65837 Always post a restyle request if SetTextStyle() indicates it's needed. b=414123 r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@244088 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 02:49:48 +00:00
bmlk%gmx.de
3c524f3152 apply rowspans and colspans only to mtd bug 413063 r/sr=bzarsky a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@244050 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-26 16:32:16 +00:00
karlt+%karlt.net
d4c99a129e apply scriptlevel increment to denominator as well as numerator
b=412897, r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@243418 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-18 04:41:54 +00:00
reed%reedloden.com
ba418314f8 Bug 400475 - ""ASSERTION: dangling frame without a content node" changing any attribute on <math:mstyle>" [p=vladimir.sukhoy@gmail.com (Vlad Sukhoy) r+sr=roc a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@243183 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-16 05:07:09 +00:00
roc+%cs.cmu.edu
7db60e4c76 fix bustage
git-svn-id: svn://10.0.0.236/trunk@243086 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 01:28:42 +00:00
roc+%cs.cmu.edu
e62e741e92 Bug 405271. MathML should not reflow children with a constrained height; that triggers pagination which is definitely not what we want. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@243084 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 01:13:40 +00:00
karlt+%karlt.net
d944b9f5c5 Bug 412033 – non-stretchy-or-centred operators don't paint on scrolling.
Don't change the size of child frames. r+sr=roc, a=schrep


git-svn-id: svn://10.0.0.236/trunk@243028 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-14 02:10:29 +00:00
karlt+%karlt.net
64cdc6b1c7 Update entities in line with MathML 2.0 xhtml-math11-f.dtd,v 1.16 2003/11/04,
with code point updates from http://www.unicode.org/reports/tr25/tr25-9.html
b=289938, rs=pavlov.


git-svn-id: svn://10.0.0.236/trunk@242823 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 10:34:35 +00:00
roc+%cs.cmu.edu
7caf8b7991 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@242716 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 09:38:32 +00:00
karlt+%karlt.net
ef8db85d60 Bug 348577 – Implement MathML <mtable> with display:inline-table
(mtable has incorrect baseline).
Patch by Bill Gianopoulos <wgianopoulos@yahoo.com>, r=rbs, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@242665 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 02:14:35 +00:00
roc+%cs.cmu.edu
aee1f987f6 backing out bug 355548 due to test failures
git-svn-id: svn://10.0.0.236/trunk@242652 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 23:11:30 +00:00
roc+%cs.cmu.edu
fb0a2b5cae Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@242648 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 22:36:56 +00:00
karlt+%karlt.net
4073d8d314 FinishReflowChild() with the final position for <msqrt> and <mpadded>
b=410132, r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@242280 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-03 04:33:21 +00:00
karlt+%karlt.net
0d63ec09dc Make nsBoundingMetrics::operator+= handle empty bounds.
b=410132, r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@242279 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-03 04:32:12 +00:00
karlt+%karlt.net
a19113da0c Calculate maximum height of a character built from parts when measuring.
b=403559, r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@242278 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-03 04:21:36 +00:00
reed%reedloden.com
dda31ecdc2 Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@242241 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-01 10:11:08 +00:00
karlt+%karlt.net
478477deb0 Bug 410284 – failure to paint sometimes with missing glyphs for parts of
stretchy characters.  r+sr=roc a=pavlov


git-svn-id: svn://10.0.0.236/trunk@242232 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-01 01:23:13 +00:00
karlt+%karlt.net
9a65e23f2d Set overflow area for nsMathMLContainerFrames.
b=161155, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@242162 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-28 23:04:19 +00:00
karlt+%karlt.net
33d1cf7665 Provide correct GetBounds() for nsDisplayMathMLCharForeground.
Bug 161155 – Integrals appear clipped sometimes.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@242159 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-28 22:16:07 +00:00
vladimir%pobox.com
7525088701 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
git-svn-id: svn://10.0.0.236/trunk@241704 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 23:01:18 +00:00
karlt+%karlt.net
3b58eb5bc0 Bug 400938 – make MathML work with Unicode fonts
r=pavlov, sr=roc (on code)


git-svn-id: svn://10.0.0.236/trunk@240493 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 03:58:10 +00:00
karlt+%karlt.net
b42d959f1f Bug 401178 – incorrect ascents for foreign children in
nsMathMLContainerFrame::ReflowChild.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@240261 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 00:54:23 +00:00
Olli.Pettay%helsinki.fi
e60089b398 Bug 368760, r=mats, sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@239843 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-22 20:47:35 +00:00
karlt+%karlt.net
500df3005d Bug 403718 – render mroot and msqrt appropriately when radical glyphs are
above the baseline (ascent != overline thickness)
r+sr=roc a=blocking1.9


git-svn-id: svn://10.0.0.236/trunk@239490 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 21:51:30 +00:00
karlt+%karlt.net
3879b592b5 Don't implicitly lossy convert from nsGlyphCode to PRUnichar
b=400938 r+sr=roc a=blocking1.9


git-svn-id: svn://10.0.0.236/trunk@239487 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 21:44:49 +00:00
reed%reedloden.com
519fe4627a Bug 379418 - ""ASSERTION: internal error: '!aListName'" with MathML and Hebrew text" [p=mats.palmgren@bredband.net (Mats Palmgren) r=roc sr=bzbarsky a1.9=stuart]
git-svn-id: svn://10.0.0.236/trunk@239037 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 08:19:45 +00:00
reed%reedloden.com
6b46b8626a Bug 400057 - ""ASSERTION: Frame is not in the block" with xul and mathml" (MathML fix) [p=roc r+sr=bzbarsky a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@239025 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 06:53:04 +00:00
bzbarsky%mit.edu
c219b0c531 Don't set our separator count to -1 when we really have 0 of them. Bug 400157,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@238908 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 17:16:09 +00:00
bzbarsky%mit.edu
19f3323d77 Make the "href" property of stylesheets reflect the original URI that was
reflected to load the sheet.  Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore


git-svn-id: svn://10.0.0.236/trunk@238046 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 21:56:43 +00:00
roc+%cs.cmu.edu
151722d42f Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@237645 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 08:30:55 +00:00
bzbarsky%mit.edu
a5e4ec0276 Make sure we always resolve style contexts with the right parent. Bug 390689,
r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@237235 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 02:58:50 +00:00
masayuki%d-toybox.com
a8014a587a Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@231524 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 08:15:02 +00:00
bzbarsky%mit.edu
3524c6eee1 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231323 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:08:07 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
bzbarsky%mit.edu
88726097d1 Mathml inlines are still bidi containers. Bug 371481, r=uriber, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@228058 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 17:36:27 +00:00
rbs%maths.uq.edu.au
62da13c005 Add emacs modeline comments, patch by Vlad Sukhoy <vladimir.sukhoy@gmail.com>, r+sr=rbs, b=382884
git-svn-id: svn://10.0.0.236/trunk@227848 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 06:10:23 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
bzbarsky%mit.edu
c1b00f99bb Followup to bug 378784 based on rbs's review comments.
git-svn-id: svn://10.0.0.236/trunk@226010 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 22:50:21 +00:00
bzbarsky%mit.edu
ba5badedcb Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.


git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
rbs%maths.uq.edu.au
c8d49fd4f0 Typo
git-svn-id: svn://10.0.0.236/trunk@224315 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-09 03:54:09 +00:00