Commit Graph

180 Commits

Author SHA1 Message Date
karlt+@karlt.net
8e9dd540d2 Move Place() from nsIMathMLFrame to nsMathMLContainerFrame b=363240, r+sr=roc 2008-03-17 21:52:48 -07:00
karlt+@karlt.net
0dca8ec26b Get*Width for nsMathMLContainerFrame base class. b=363240 r+sr=roc 2008-02-27 02:45:36 -08:00
karlt+@karlt.net
b3c6d94201 don't use frame origin offsets to store ascents. b=363240, r+sr=roc 2008-02-25 20:19:36 -08:00
roc+@cs.cmu.edu
ab982faa16 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 2008-01-09 01:38:28 -08:00
roc+@cs.cmu.edu
96da482e7e backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
c816d4ca4f 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 2008-01-08 14:36:46 -08:00
karlt+@karlt.net
97b6f538a2 FinishReflowChild() with the final position for <msqrt> and <mpadded> b=410132, r+sr+a=roc 2008-01-02 20:33:21 -08:00
reed@reedloden.com
f9ee4eb39f Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc] 2008-01-01 02:11:02 -08:00
karlt+@karlt.net
7f6a3cf6f5 Set overflow area for nsMathMLContainerFrames. b=161155, r+sr=roc 2007-12-28 15:04:19 -08:00
vladimir@pobox.com
2e94f56ef2 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart 2007-12-18 15:01:15 -08:00
karlt+@karlt.net
b6a6ab3499 Bug 401178 - incorrect ascents for foreign children in nsMathMLContainerFrame::ReflowChild. r+sr=roc 2007-12-02 16:54:23 -08:00
reed@reedloden.com
12ddd61add Bug 400057 - ""ASSERTION: Frame is not in the block" with xul and mathml" (MathML fix) [p=roc r+sr=bzbarsky a=blocking1.9+] 2007-11-08 22:53:04 -08:00
roc+@cs.cmu.edu
036806699a Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky 2007-10-12 01:30:54 -07:00
bzbarsky@mit.edu
9c59e9e4cc Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
jwalden@mit.edu
6d7584839a 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. 2007-07-08 00:08:04 -07:00
bzbarsky@mit.edu
1b5f6b30b6 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
bzbarsky@mit.edu
eeaa1a101b Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
mats.palmgren%bredband.net
d583a6fdcd Deal with parent frame that doesn't map content. b=373882 r+sr=rbs 2007-03-15 19:09:37 +00:00
mats.palmgren%bredband.net
15d5058747 Make DidReflowChildren() deal with a null first frame. b=372483 r+sr=rbs 2007-03-04 16:13:15 +00:00
mats.palmgren%bredband.net
fd36f101fc Call DidReflow() on child frames where needed in case of errors. b=366012 r+sr=rbs 2007-03-02 10:55:55 +00:00
dbaron%dbaron.org
9d7f938b99 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc 2007-02-24 18:33:33 +00:00
sharparrow1%yahoo.com
76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
bzbarsky%mit.edu
baec9bd166 Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org
f6245f0ed9 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 2007-01-23 04:06:56 +00:00
roc+%cs.cmu.edu
7790a961e0 Bug 333659. Relanding nsLineLayout API changes for new text code. r+sr=dbaron 2007-01-18 01:20:09 +00:00
roc+%cs.cmu.edu
49502dd9e1 Backout of nsLineLayout changes; trying to fix luna orange 2007-01-17 06:27:01 +00:00
roc+%cs.cmu.edu
e8d2197c1a Bug 333659. Relanding new nsLineLayout API to make in-first-line-frame and current-nsLineBox available; should not affect anything. r+sr=dbaron 2007-01-17 03:59:32 +00:00
roc+%cs.cmu.edu
7268a1957b Backing out text landing. 2007-01-16 22:25:20 +00:00
roc+%cs.cmu.edu
e6bad38abe 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 2007-01-16 20:51:52 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
31f1898810 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. 2006-12-08 05:38:33 +00:00
roc+%cs.cmu.edu
899128e82a Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron 2006-10-19 01:47:47 +00:00
rbs%maths.uq.edu.au
9b3a8e911f 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 2006-09-28 10:52:44 +00:00
bzbarsky%mit.edu
b66aa49506 Ensure a space manager for MathML containers reflowing inlines. Bug 325222, r+sr=roc 2006-09-25 01:44:25 +00:00
rbs%maths.uq.edu.au
de61177a24 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 2006-09-07 03:45:45 +00:00
rbs%maths.uq.edu.au
cf5252eb5e MathML <mtable>s sometimes have incorrect scriptlevel, b=328141, r+sr=roc 2006-08-29 17:21:36 +00:00
rbs%maths.uq.edu.au
927e70a9f9 js changes to MathML are not drawn, b=337700, r+sr=bzbarsky 2006-08-16 05:28:26 +00:00
rbs%maths.uq.edu.au
660c88bd29 Frames not destroyed with <mmultiscripts> and <mtd>, b=348492, r+sr=bzbarsky 2006-08-15 04:49:43 +00:00
rbs%maths.uq.edu.au
4639dd578c Fix assertion - bug 347495 - was due to an attempt to paint children in case of invalid markup, r+sr=roc 2006-08-07 23:42:32 +00:00
rbs%maths.uq.edu.au
3fe7da72d5 Backout earlier patch for bug 327737 due to regression 2006-08-03 23:27:55 +00:00
cvshook%sicking.cc
3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
rbs%maths.uq.edu.au
de01a001d1 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 2006-07-18 07:49:02 +00:00
roc+%cs.cmu.edu
a7f03736a9 Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc 2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
roc+%cs.cmu.edu
0a10a79f62 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 2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
131e8794e2 backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
557b089a47 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
6fd863f2dd 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 2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu
c2801ebbd7 Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell 2006-03-09 18:55:21 +00:00
bzbarsky%mit.edu
f96a096c2c Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00