563 Commits

Author SHA1 Message Date
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
rbs%maths.uq.edu.au
ad6ad2f939 Bug 370791 – Crash [@ nsStyleContext::AddRef] [@ nsCSSRendering::PaintBackground] with <math:mi> and float, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@224314 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-09 03:43:44 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
mats.palmgren%bredband.net
09db97ba4d Deal with parent frame that doesn't map content. b=373882 r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@221928 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 19:09:37 +00:00
mats.palmgren%bredband.net
d609bdc7ac Make DidReflowChildren() deal with a null first frame. b=372483 r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@221279 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-04 16:13:15 +00:00
mats.palmgren%bredband.net
34defe8a62 Call DidReflow() on child frames where needed in case of errors. b=366012 r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@221223 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 10:55:55 +00:00
dbaron%dbaron.org
32d54152c9 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220874 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 18:33:33 +00:00
bzbarsky%mit.edu
1807c5a422 Fix bug 370692. r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@220558 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-19 20:46:31 +00:00
bzbarsky%mit.edu
ee4ee8ea0b Make blocks whose ancestors are not blocks have the NS_BLOCK_MARGIN_ROOT and
NS_BLOCK_SPACE_MGR bits as necessary.  Bug 354600, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@220533 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 23:53:25 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
343ced44ba Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org
103e95ab15 Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
roc+%cs.cmu.edu
29067fe44b Bug 333659. Relanding nsLineLayout API changes for new text code. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218576 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-18 01:20:09 +00:00
roc+%cs.cmu.edu
09049cfebe Backout of nsLineLayout changes; trying to fix luna orange
git-svn-id: svn://10.0.0.236/trunk@218497 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 06:27:01 +00:00
roc+%cs.cmu.edu
75d52f8575 Bug 333659. Relanding new nsLineLayout API to make in-first-line-frame and current-nsLineBox available; should not affect anything. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218491 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 03:59:32 +00:00
roc+%cs.cmu.edu
4f42d74394 Backing out text landing.
git-svn-id: svn://10.0.0.236/trunk@218456 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 22:25:20 +00:00
roc+%cs.cmu.edu
e2373f9a14 Bug 333659. Landing new text interfaces, new gfxPangoTextRun (enabled), new textframe code (disabled). r+sr=dbaron for the part-of-the-build layout parts,r=stuart for the part-of-the-build gfx parts
git-svn-id: svn://10.0.0.236/trunk@218447 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 20:51:52 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
1ca9f3f372 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
ee561228eb Back out bug 354600 to fix regressions.
git-svn-id: svn://10.0.0.236/trunk@215446 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 20:23:56 +00:00
bzbarsky%mit.edu
77b17ef48c Make block frames that are not kids of blocks automatically have space managers
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag.  Bug 354600, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@215356 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:51:53 +00:00
roc+%cs.cmu.edu
f06ba26d9e Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@213836 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 01:47:47 +00:00
rbs%maths.uq.edu.au
8161f4ec50 fix assertion about the mismatch of frame types by not making blind assumptions, b=355986, r=bernd, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@213390 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 07:38:50 +00:00
bzbarsky%mit.edu
704039928d Slightly improve handling of positioned kids of MathML. Bug 322625, r=rbs, sr=roc
git-svn-id: svn://10.0.0.236/trunk@213322 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 22:04:09 +00:00
rbs%maths.uq.edu.au
59aedf1446 Strengthen the code that closes the gaps in stretchy chars so that it doesn't break Linux. Patch by Behdad Esfahbod <mozilla@behdad.org>, b=321994, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@213236 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-06 15:38:17 +00:00
rbs%maths.uq.edu.au
e07d25c37e typo from my previous checkin
git-svn-id: svn://10.0.0.236/trunk@212991 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 07:50:36 +00:00
rbs%maths.uq.edu.au
3e7aa0184a Consolidate the handling of minus, b=354785, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@212980 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 05:32:12 +00:00