Commit Graph
629 Commits
Author SHA1 Message Date
[email protected] 9fe40dbd60 Change mCBReflowState to mean the containing block of _this_ reflow state
instead of the containing block of kids.  Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations).  Bug 135082,
r+sr=dbaron
2004-04-24 17:56:23 +00:00
[email protected] a1ec040a65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
[email protected] 5ddc9f91a1 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
[email protected] d3fedcb892 Bug 237343. Adjust inline frame PerFrameData mCombinedArea to account for width increase due to justification. 2004-03-16 06:58:01 +00:00
[email protected] 1eabe65556 Backing out my checkin from yesterday. b=199673 2004-03-10 17:13:39 +00:00
[email protected] 142c56e9fc In almost-standards mode, standards-mode text decorations and quirks-mode inline box model have to interact -- so make standards-mode text-decorations (when text-decorations are present) cause the standards-mode inline box model. b=199673 r+sr=bzbarsky 2004-03-10 00:28:17 +00:00
[email protected] cf5453fb86 Back out Bug #132561 until we can figure out how to fix the regression it causes in HTML composer with spaces
(See Bug #235223).

a=brendan
2004-03-02 01:23:13 +00:00
[email protected] 2581895a0f Bug 235778. Overflow area of relatively positioned inlines must be preserved by line layout. r+sr=dbaron 2004-02-28 02:55:58 +00:00
[email protected] 9a3c56b36f Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
[email protected] 695161606f Fix comment. Bug 132561, r+sr=dbaron 2004-02-19 22:16:00 +00:00
[email protected] ed07456165 Trim whitespace that comes right before a <br> when trimming whitespace. Bug
132561, r+sr=dbaron
2004-02-19 22:12:38 +00:00
[email protected] 894ec7fb8b Collapse trailing whitespace even if there is a placeholder after it. Bug
233451, r+sr=dbaron
2004-02-09 01:01:06 +00:00
[email protected] d8fd3d5bb4 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
[email protected] 01533e488c deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
[email protected] d6fe46eb38 Fix percentage widths on inlines within inlines. b=97695 r+sr=roc 2003-12-19 05:41:35 +00:00
[email protected] 8891f27a52 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
[email protected] d47517f6dc Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). [email protected], [email protected]. 2003-11-19 01:20:56 +00:00
[email protected] a64d01f4d3 Removed unused LineIsEmpty function. 2003-11-11 19:25:49 +00:00
uid502 4fc4723244 Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
[email protected] 9446ce805f Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
[email protected] f7edc2b9f3 Remove LL_TEXTSTARTSWITHNBSP, since it's a partial and broken solution to the problem, and it's in the wrong place. b=187899 r+sr=roc 2003-09-28 22:56:08 +00:00
[email protected] 26a67be421 Fix view positioning logic in RelativePositionFrames so that widgets are positioned correctly. b=214623 r+sr=roc a=asa 2003-08-06 23:59:10 +00:00
[email protected] 7cd39e75b2 Correct fix for bug 213591 - make sure to call SyncFrameViewAfterReflow for leaf frames as well. r+sr=roc 2003-07-31 22:03:26 +00:00
[email protected] ae8d4e8713 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <[email protected]> with minor modifications by me.
[email protected]
2003-07-30 08:13:07 +00:00
[email protected] f01940f77a Back out part of checkin from yesterday due to regressions. b=79315 2003-07-23 22:46:48 +00:00
[email protected] 2c91043d4a Make sure we include the overflow area in the size of views, for blocks and inlines, at least. b=79315 r+sr=roc 2003-07-23 00:14:16 +00:00
[email protected] acbd7967d4 Ongoing deCOMtamination. r+sr=dbaron 2003-06-30 10:46:59 +00:00
[email protected] 384f320c3a DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
[email protected] c8a200d763 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected] f98e358469 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
[email protected] ea1bb25c8e Oops, wrong tree. Backing out. 2003-05-15 03:36:05 +00:00
[email protected] 3593ff7c46 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:32:08 +00:00
[email protected] be7c01b8a3 Remove nsITextFrame. Bug 188618, r/sr=roc+moz. 2003-02-25 00:44:04 +00:00
[email protected] ba58162e96 Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
[email protected] 1c37d177d4 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
[email protected] 8a88f30fc6 Change my email address from [email protected] to [email protected]. Comment changes only. 2003-01-01 23:53:20 +00:00
[email protected] 8c5e0d7537 Backing out fix for bug 170330... againr=dbaron 2002-12-22 05:40:51 +00:00
[email protected] 5a3a73bdf1 Tp experiment... See if the extra view sync is causing the Tp regression. Pardon me. 2002-12-22 02:12:13 +00:00
[email protected] f1531817b2 Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron 2002-12-21 23:25:38 +00:00
[email protected] ec233d33c9 Remove test assertion that I added two days ago. DEBUG-only, r=me 2002-12-21 01:36:58 +00:00
[email protected] b983f25e3f Make quirks-mode vertical alignment correctly consider only non-collapsed whitespace. b=155333 r+sr=roc 2002-12-19 00:21:07 +00:00
[email protected] 4c4f65aba0 Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <[email protected]>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777 2002-12-11 04:00:18 +00:00
[email protected] ac6e0e350b Clean up twisty maze of IBMBIDI ifdefs related to HorizontalAlignFrames and fix an RTL alignment bug. b=131023 r=smontagu sr=roc 2002-12-11 02:38:33 +00:00
[email protected] 3a4d16c359 Backing out fix for bug 170330 due to Tp regression 2002-12-06 04:32:07 +00:00
[email protected] ac29090710 Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin 2002-12-05 22:29:08 +00:00
[email protected] e11b43eac2 bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone 2002-10-08 20:35:26 +00:00
[email protected] 2fd40ad4c3 bug 169620 - don't pass in negative avail widths, don't add/subtract from NS_UNCONSTRAINEDSIZE, make HR's desired width at least as big as its me width. sr=kin, r=dbaron 2002-09-24 21:02:20 +00:00
[email protected] c853b6104c Back out most of patch for bug 154910 to fix crash, since nsLineLayout need not do all its allocation without other things lower on the stack. b=162516 2002-08-14 13:00:16 +00:00
[email protected] fa400b9cf2 Make BR-related parts of the quirky inline box model also quirky in almost-standards mode, to match the rest of the inline box model quirks. b=161691 sr=bzbarsky r=caillon 2002-08-11 18:00:07 +00:00
[email protected] b7d00d4b79 Allocate PerFrameData and PerSpanData in pres shell's stack arena. b=154910 r=bzbarsky sr=waterson 2002-08-06 13:51:07 +00:00