dveditz%cruzio.com
a3c321d28f
bug 463763 mathml reflow crash with <msup>, p=zweinberg, r/sr=roc, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@255772 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-08 08:06:44 +00:00
karlt+%karlt.net
eb12a7a910
Add GetIntrinsicWidth for <msqrt>. b=363240, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@248045 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 05:06:23 +00:00
karlt+%karlt.net
67df0737ac
Move Place() from nsIMathMLFrame to nsMathMLContainerFrame
...
b=363240, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@248044 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 04:52:49 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
46fd8ca8b4
Wrong layout when adding rows to <mtable> via the DOM. Pass a stylechanged reflow so that wrappers of <mtable> don't over-optimize their reflow, b=354296, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@212796 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-28 10:52:44 +00:00
bzbarsky%mit.edu
c0103b4e12
Ensure a space manager for MathML containers reflowing inlines. Bug 325222, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@212276 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 01:44:25 +00:00
rbs%maths.uq.edu.au
6fb17e5763
Consolidation of some mtable/matrix related attributes that affect the style, and make them responsive to dynamic changes via JavaScript, b=179619, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@209313 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 03:45:45 +00:00
rbs%maths.uq.edu.au
fec3388d44
MathML <mtable>s sometimes have incorrect scriptlevel, b=328141, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@208712 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 17:21:36 +00:00
rbs%maths.uq.edu.au
8caba6b9bc
js changes to MathML are not drawn, b=337700, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@207549 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 05:28:26 +00:00
rbs%maths.uq.edu.au
599898014b
Frames not destroyed with <mmultiscripts> and <mtd>, b=348492, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@207415 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 04:49:43 +00:00
rbs%maths.uq.edu.au
4683c200da
Fix assertion - bug 347495 - was due to an attempt to paint children in case of invalid markup, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@206786 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 23:42:32 +00:00
rbs%maths.uq.edu.au
82b376e12c
Backout earlier patch for bug 327737 due to regression
...
git-svn-id: svn://10.0.0.236/trunk@206526 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 23:27:55 +00:00
cvshook%sicking.cc
365266c686
Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
rbs%maths.uq.edu.au
7dcdbcba61
Be sure to return the reflow status as complete in the case of invalid markup to avoid a hang due to the frame being reflowed over and over again. Patch by steve.swanson@mackichan.com, b=323737, r+sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@202307 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 07:49:02 +00:00
roc+%cs.cmu.edu
b6ebd9961d
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
roc+%cs.cmu.edu
140fbb3377
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
b5c7a440ef
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
...
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
c469d694c3
Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192331 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 20:43:18 +00:00