Commit Graph
574 Commits
Author SHA1 Message Date
[email protected] 50212c4cdc Undoing last change now that I have perf data. 2003-10-18 07:13:30 +00:00
[email protected] fc7a1f41fb Test performance impact of not limiting to the first level now that bug 222730
is fixed.  r=dbaron
2003-10-18 06:08:39 +00:00
[email protected] e7ca4b1fb7 Only calc a quirk containing block if we have a percentage height. Bug 222730,
r+sr=dbaron
2003-10-18 05:09:42 +00:00
[email protected] 964588c97e Stop walking up the tree looking for something to size against if we hit a
positioned frame.  Bug 221784, r+sr=roc
2003-10-18 00:24:28 +00:00
uid502 308b50e2e9 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky 2003-10-17 02:38:37 +00:00
[email protected] 24c4747139 Relanding fix for bug Bug 219693, r+sr=dbaron 2003-10-06 13:13:37 +00:00
[email protected] 0da2e50df9 Backing out for now, till fallout from tree redness settles. 2003-10-06 04:23:56 +00:00
[email protected] e23f980665 Make quirks %-heights on kids of scrolling parents work the same way as for
non-scrolling parents.  Bug 219693, r+sr=dbaron
2003-10-06 02:58:19 +00:00
[email protected] c11c6bf27e Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. [email protected], [email protected]. 2003-09-27 04:18:26 +00:00
[email protected] 5beb813475 Bug 219908 Remove some layout warnings
r=bz sr=dbaron
2003-09-22 21:40:12 +00:00
[email protected] 80787ace8c Let ComputeHorizontalValue handle unconstrained width, since unconstrained width only means the vertical margin is unknown in some cases. Patch by Mats Palmgren <[email protected]>. r+sr=dbaron a=asa b=209066 2003-09-06 04:01:33 +00:00
[email protected] 634c6e9bdc DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
[email protected] dc58ced898 Ongoing deCOMtamination. r+sr=dbaron 2003-06-29 03:43:05 +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] 20d5a05ab6 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +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] c2ba4187b1 Removing a redeclaration of a variable that sould've been removed with the last change to this file. Bug 181644, [email protected], [email protected], [email protected] 2003-02-06 23:10:20 +00:00
[email protected] 7999e91921 Fix abs pos positioning regression. Bug 181644 redux, patch by
[email protected], r=bzbarsky, sr=dbaron, a=asa
2003-01-29 11:35:10 +00:00
[email protected] 888b54c062 set the quirk height default to NS_AUTOHEIGHT if we are in a unconstrained container bug 189840 r/sr=roc+moz a=asa 2003-01-28 05:19:20 +00:00
[email protected] db7f4d244e bug 175455 - Added mTableDerivedComputedWidth to the reflow state to detect computed widths which exist only because of table cells. Limit percent width of descendants whose percentage base has such a computed width. sr=roc, r=bernd 2003-01-19 20:07:39 +00:00
[email protected] 747cbd27f4 bug 181644, patch by [email protected], r=bz, sr=roc+moz 2002-12-23 06:01:14 +00:00
[email protected] aa5e6343da Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...) 2002-12-11 05:11:02 +00:00
[email protected] 382e7a0fa6 Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-10 23:41:12 +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] ab2c7366be #130091 should we get rid of "NEW_FONT_HEIGHT_APIS"
[email protected], sr=rbs
2002-09-18 19:37:31 +00:00
[email protected] 0552fdfcd7 bug 137388 - Jery Tan's patch to restrict applying CalcQuirkContainingBlockHeight to a frame inside a table cell. sr=bzbarsky, r=karnaze. 2002-09-04 04:00:41 +00:00
[email protected] bcf5398fef Bug 161945 clean up simple mac build warnings
r=dbradley sr=bz
2002-09-02 21:26:11 +00:00
[email protected] e4f795fd4d Fix placement of positioned elements with auto "top". Bug 44508, patch
by Mats Palmgren ([email protected]), r=dbaron, sr=bzbarsky.
2002-08-15 23:00:23 +00:00
[email protected] c036d757ad Fix regression with form controls on visual bidi pages. Bug 142233, r=jkeiser, sr=kin 2002-07-10 00:52:17 +00:00
[email protected] abee14732a Rest of patch (partial commit before). Remove nsFormFrame forever. bug 125578, [email protected], [email protected] 2002-06-04 02:00:34 +00:00
[email protected] 8ee8e6e790 #142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
[email protected] 319a16e643 Fix build bustage. 2002-05-15 22:21:15 +00:00
[email protected] 189184754e Give nsHTMLReflowState an explicit copy-constructor and assignment operator to fix up mCBReflowState and fix regressions from previous patch. b=143706 r=bzbarsky sr=waterson 2002-05-15 19:58:20 +00:00
[email protected] 4236f8d9c8 Store containing block reflow state so we don't have to walk up the tree to find it every time. b=143706 r=attinasi sr=waterson 2002-05-14 12:59:55 +00:00
[email protected] a7380946d3 Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi 2002-05-10 18:22:41 +00:00
[email protected] 0187b5d5a7 Fix regression of bug 89065 to make text-decoration: blink work again.
r=dbaron, sr=attinasi
2002-05-07 23:26:02 +00:00
[email protected] c1862b3bb4 Added yet another defense to make Mozilla really robust when font resources run out, the patch makes font metrics to be fail safe or at least very hard to break -- to the point that failure means that the system is barely working (testing showed that Mozilla stayed alive while other applications were dying). Per request of super-reviewer & driver, also removed wallpaper null-checks sprinkled in the past for the problem. b=136248, r=shanjian, sr=attinasi 2002-05-02 22:24:59 +00:00
[email protected] 053f6f8732 Bug 138057. Eliminate nsBlockFrame::RememberFloaterDamage, instead recording the damage when we reflow the floater. This allows us to catch several cases that we weren't catching before, so we no longer need to dirty all the line boxes when an incremental reflow targeted at a float arrives. r=dbaron, sr=attinasi. 2002-04-26 19:19:39 +00:00
[email protected] 3efc0ec768 Check for null FontMetrics to prevent crash. r=shanjian sr=kin 2002-04-25 22:00:22 +00:00
[email protected] 8a305cf859 #76097 Need to include external leading for CJK normal Line-height
Font metrics returns both internal and external leading to layout. Layout
now is responsible for calculating the normalLineHeight. It take consideration
of external leading, and compensate if it does not exist. All these are controled
by a preference switch.

r=rbs, sr=attinasi,
2002-04-11 00:00:40 +00:00
[email protected] 335ac62023 bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov. 2002-04-10 21:32:41 +00:00
[email protected] 91f16036cf bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd. 2002-04-01 06:46:17 +00:00
[email protected] 9a13af360b bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
[email protected] d05e65aea2 Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
[email protected] 3c367a5d13 bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
[email protected] d0f2af2008 Switch to using typesafe way of accessing style data. r=hyatt sr=waterson b=111883 2001-11-28 05:06:17 +00:00
[email protected] 6dbbcdf51b bug 30692 - Have children of cell block use the computed width of the cell. sr=attinasi, r=alexsavulov 2001-11-06 22:57:17 +00:00
[email protected] 783e6ca952 Fix inheritance of percentage values for 'line-height' by removing hacks to base percentage values for 'line-height' on the actual value rather than the computed value of 'font-size'. Fix various |const|-ness issues in nsRuleNode. b=97726 r=pierre sr=hyatt 2001-11-06 07:48:02 +00:00
[email protected] b1f36968fa bug 97138 - rework of table, row group, row, cell height code. sr=attinasi, r=alexsavulov 2001-11-05 00:15:51 +00:00