Граф коммитов

547 Коммитов

Автор SHA1 Сообщение Дата
Robert O'Callahan 1b6c71eabf Bug 439004. Check whether there's logically empty content already placed on the line instead of just checking whether the line has advanced horizontally. r+sr=dbaron. 2008-06-14 20:28:07 +12:00
Robert O'Callahan 4188aa979e Allow floats to be placed on the current line even after nonzero-width inline content has been placed. Fixes an Acid3 layout bug. r+sr=dbaron 2008-06-11 11:53:22 +12:00
L. David Baron 0b369f2ea1 Remove unneeded (and not present in the proposed CSS3 float-displace property) border-box and padding-box values of -moz-float-edge. (Bug 432891) r+sr=roc 2008-06-05 16:06:34 -07:00
dbaron@dbaron.org f7d78f8105 Compute widths for replaced block clearing past floats once we're at the correct vertical position. b=430813 r+sr=roc a=schrep 2008-05-03 16:33:36 -07:00
fantasai.cvs@inkedblade.net c799e1aaed consider relevant overflow when balancing columns (fixes various crashes and hangs) b=404215 r+sr=roc a=beltzner 2008-04-18 00:40:35 -07:00
dbaron@dbaron.org f8dcd3c29e Fix bug 427129 / 377664: When displacing blocks that don't interact with floats around floats, displace the border box rather than the margin box. Fix bug 427782: Simultaneously, only displace when the width actually won't go down to an amount that fits (i.e., if it will go to an amount smaller than the intrinsic minimum width, let it). b=427129 r+sr=roc a=schrep 2008-04-14 18:05:17 -07:00
mats.palmgren@bredband.net e85cc637ce The position of an outside bullet should not be affected by floats inside the principal block (this fixes most cases). b=427370 r+sr=dbaron a1.9=beltzner 2008-04-13 10:43:12 -07:00
bmlk@gmx.de fcd8037468 There is no height greater than unconstrained height, bug 402872, r/sr=roc a=beltzner 2008-03-08 01:12:30 -08:00
jag@tty.nl dd268604cd Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep 2008-02-18 23:36:50 -08:00
dbaron@dbaron.org f970a9abc8 Push scrollframes, tables, and other blocks that don't participate in float formatting down when they don't fit next to floats. b=134706,349255 r+sr=roc a=blocking1.9+ 2008-01-28 23:40:05 -08:00
fantasai.cvs@inkedblade.net a20bb841e3 fix border/padding and availableHeight calculations at page/column breaks, b=368079 r+sr=roc a=roc 2008-01-23 16:28:42 -08:00
fantasai.cvs@inkedblade.net 4c1ed919a6 backing out patch to bug 368079 to investigate reftest failure 2008-01-15 20:59:15 -08:00
fantasai.cvs@inkedblade.net d23593390e fix border/padding and availableHeight calculations at page/column breaks, b=368079 r+sr=roc a=roc 2008-01-15 19:54:46 -08:00
roc+@cs.cmu.edu bc82216410 Bug 363729. Don't allow fixed-pos tables to have abs-pos children. r=dholbert,sr=dbaron 2007-12-11 17:21:34 -08:00
fantasai.cvs@inkedblade.net 404e205908 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00
roc+@cs.cmu.edu 70a385c535 Bug 389583. Floats fit if their bottom edge is equal to the available space bottom edge. r=eli,sr=mats,a=dbaron 2007-09-03 21:04:12 -07:00
roc+@cs.cmu.edu a28eeaaafd Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc 2007-07-25 21:03:29 -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
sharparrow1@yahoo.com 3644116283 Bug 386900: Topic images rendered in wrong place on slashdot. r+sr=roc 2007-07-06 11:22:56 -07:00
sharparrow1@yahoo.com 4ed2735ce2 Fix warning from Bug 285608. r+sr=roc. 2007-07-04 16:38:39 -07:00
sharparrow1@yahoo.com 1b3608dca9 Bug 386147: Don't cut off floats at the bottom of the page (part 1). r+sr=roc 2007-07-01 22:26:52 -07:00
sharparrow1@yahoo.com 0306706e9a Bug 343595: {inc} overflow:hidden float in overflow:hidden div doesn't get repositioned correctly. r+sr=roc 2007-07-01 22:19:57 -07:00
sharparrow1@yahoo.com a010d5b126 Bug 285608: hangs when page with float printed. r+sr=roc. 2007-06-27 09:35:31 -07:00
sharparrow1@yahoo.com 2c2399e327 Bug 381385: get rid of unneeded members of nsFloatCache (saves about 50 bytes footprint per float). r+sr=roc. 2007-06-16 13:27:46 -07:00
bzbarsky@mit.edu 9cd2a580d0 Make computed style handle "normal" for line-height by computing an actualnumeric height. Bug 371041, r+sr=dbaron 2007-05-04 22:30:10 -07:00
bzbarsky%mit.edu ad75d79f05 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
2007-02-18 23:53:25 +00:00
cvshook%sicking.cc a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +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
timeless%mozdev.org 4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
mats.palmgren%bredband.net 79090c0f4b Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky 2006-12-20 03:52:34 +00:00
roc+%cs.cmu.edu c3cd4e8b4b Bug 359371. Don't leak overflowing frames if a bug occurs and we still have overflowing frames in an unconstrained reflow situation. r+sr=dbaron 2006-12-12 01:06:23 +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
mats.palmgren%bredband.net 889bd7963e Don't overlap scroll frame margin box with float (regression). b=350046 r+sr=roc 2006-08-25 22:55:32 +00:00
mats.palmgren%bredband.net fd99ce03ed 1. Make scroll frames non-splittable.
2. Make a placeholder splittable only if the out-of-flow is.
3. If a float placeholder is not splittable then place it immediately
   instead of failing to reflow it because it can't be split.
b=337419 (Patch B) r+sr=roc
2006-08-24 05:22:16 +00:00
mats.palmgren%bredband.net cde65ad7de Block-level replaced element margin box must not overlap any floats. b=342531 r+sr=dbaron 2006-07-05 03:53:22 +00:00
roc+%cs.cmu.edu a42c58298b relanding fix for bug 317278 :-( 2006-06-29 01:19:48 +00:00
roc+%cs.cmu.edu 1621ac24bd Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs 2006-06-26 22:18:23 +00:00
roc+%cs.cmu.edu ab87d3edb5 Bug 317278. Reland patch that reflows lines again if we detect some already-placed floats need to move to the next line. This time, with changes to nsSpaceManager's PushState/PopState infrastructure so that dynamic allocations are never required; the saved state is always stack-allocated by callers. r+sr=dbaron 2006-06-19 23:06:59 +00:00
roc+%cs.cmu.edu ed0bc93ff0 Backing out patch for 317278 due to Tp regression 2006-06-19 01:29:07 +00:00
roc+%cs.cmu.edu cc52ece1a1 Bug 317278. In some cases we push float placeholders from one line to the next after we have already placed their floats on the line. In such situations, reset the space manager and force the line to reflow again so those floats don't get placed. r+sr=dbaron 2006-06-19 00:02:49 +00:00
dbaron%dbaron.org 0e88f73bc6 Single line comments to describe files (helpful in LXR) 2006-03-29 18:29:03 +00:00
bzbarsky%mit.edu c9662bfe8c Fix bug 303039 -- make sure to get the right max-width even if we have no
lines.  r+sr=roc
2006-02-03 18:50:41 +00:00
timeless%mozdev.org 1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
roc+%cs.cmu.edu 33a3e7d578 Bug 312777. Don't pass negative-margin-box floats to the space manager; correct them and preserve the right margin-edge on left floats and the left margin-edge on right floats. r+sr=dbaron 2005-11-01 01:16:45 +00:00
cvshook%sicking.cc 64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu 04153159a6 Fix some nsFloatCache leaks. Bug 302438, r+sr=dbaron 2005-10-21 22:23:28 +00:00
roc+%cs.cmu.edu 7bf0c43eb4 Bug 189739. During SHRINKWRAP, lines that skip being reflowed need to add their right margin to their mBounds.XMost for the shrink-wrap width computation. Fixes an incremental reflow regression. r+sr=dbaron,a=bsmedberg 2005-08-02 20:17:36 +00:00
bzbarsky%mit.edu e61e1e1935 Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu 97fad84ab5 Bug 288560. Set mIsTopOfPage for each column in a column set. Also, make it possible to force floats to fit by relaxing the space manager's height constraint if necessary. r+sr=dbaron,a=chofmann 2005-04-28 21:25:11 +00:00
roc+%cs.cmu.edu 8cfd926ecc Bug 174688. Don't apply top border-padding to block frames that aren't first in flow. Also, when a block is incomplete, ensure the frame extends to fill the entire available height. r+sr=dbaron,a=asa 2005-04-26 02:26:12 +00:00