368c29ae32
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
360d80f492
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
263d44e417
Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky
2007-05-03 16:11:00 -07:00
roc+@cs.cmu.edu
12e6b3d664
Bug 372237. Never set TRUNCATED reflow status if the available height is unconstrained, even if the height happens to exceed the constant we use to indicate unconstrained height. r+sr=dbaron
2007-03-11 20:34:15 +00:00
bzbarsky@mit.edu
2cb54272d8
Set the used padding on the scrolled frame, since we're munging its padding.
...
Bug 370794, r+sr=dbaron
2007-02-20 18:54:16 +00:00
smontagu@smontagu.org
0f5b13f950
Bug 369236: Move IsBidiFormControl from nsHTMLReflowState to nsBlockFrame. r+sr=roc
2007-02-11 07:19:09 +00:00
bzbarsky@mit.edu
b09985c9eb
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
bmlk@gmx.de
cc7c8c39e9
Stronger band-aid to prevent table splitting inside columns bug 362275 r/sr=roc
2007-01-21 17:51:33 +00:00
mats.palmgren@bredband.net
eeeddacfd2
Rename ComputeHorizontalValue to ComputeWidthDependentValue (ditto for height) and some minor cleanup. b=364131 r+sr=dbaron
2006-12-18 13:20:18 +00:00
bzbarsky@mit.edu
60aaea4513
Forgot file for bug 363637. r+sr=dbaron
2006-12-18 03:34:05 +00:00
bzbarsky@mit.edu
3cad9e6e5e
Fix percentage padding on nodes with overflow other than visible. Bug 332557,
...
r+sr=dbaron.
2006-12-12 15:18:40 +00:00
dbaron@dbaron.org
d21cb374bd
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
dbaron@dbaron.org
60eede3c11
Single line comments to describe files (helpful in LXR)
2006-03-29 18:29:03 +00:00
dbaron@dbaron.org
0608475c71
Remove unused mCompactMarginWidth member. b=328551 r+sr=roc
2006-02-26 10:35:44 +00:00
dbaron@dbaron.org
0a6bbb7f8c
Use IsContainingBlock rather than testing for block frame when looking for the placeholder's containing block for auto offsets; for non-blocks, just use the placeholder Y coordinate for auto-top. b=253479 r+sr=roc
2005-12-21 03:30:28 +00:00
timeless@mozdev.org
71ed8bc863
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
4849bee778
Bug 307158. Half-heartedly account for vertical scrollbar presence when positioning absolute children relative to the right edge of a scrollable container. r+sr=dbaron with regrets.
2005-10-18 05:00:24 +00:00
dbaron@dbaron.org
0d909c8a9e
Remove check for GECKO_USE_COMPUTED_HEIGHT environment variable. b=196270 r+sr=roc a=bsmedberg
2005-08-02 20:15:27 +00:00
roc+@cs.cmu.edu
d1a9e687eb
Bug 292370. Adjust instrinsic widths in nsHTMLScrollFrame to account for 'width','min-width' and 'max-width' style settings. r+sr=dbaron,a=mkaply
2005-05-03 21:15:55 +00:00
roc+@cs.cmu.edu
141851a7d3
Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
2005-04-28 21:57:22 +00:00
roc+@cs.cmu.edu
51b95a1634
Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron
2005-03-23 03:35:08 +00:00
roc+@cs.cmu.edu
b9ae93961a
Bug 209694. Major rework of margin-collapsing and clearance to match CSS 2.1 rules. Also includes major incremental reflow fixes for those situations. See the bug for details. rubber-stamp r+sr=dbaron
2004-11-25 14:51:00 +00:00
bzbarsky@mit.edu
37f932138b
Fixing build bustage. Bug 263374
2004-11-25 02:58:01 +00:00
bzbarsky@mit.edu
b7d324424c
Add a utility method for finding the containing block to nsHTMLReflowState, and
...
make use of it in fixing the text-decoration drawing on blocks to deal with
negative text-indent. Bug 263374, r+sr=dbaron
2004-11-25 02:43:28 +00:00
roc+@cs.cmu.edu
3dd1cd4644
Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron
2004-10-08 12:17:10 +00:00
bryner@brianryner.com
6cde4639f0
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
bzbarsky@mit.edu
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
gerv@gerv.net
a1ec040a65
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bzbarsky@mit.edu
e86546e42b
Remove code that munges block widths inside table cells. Bug 232754,
...
r+sr=dbaron
2004-02-03 16:49:38 +00:00
bzbarsky@mit.edu
6b298f53ea
Make AdjustComputedWidth/Height take a boolean that tells it whether to account
...
for box-sizing; sometimes we don't want to. Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
dbaron@dbaron.org
eac47355a2
Turn DetermineFrameType into InitFrameType. b=225911 r+sr=bzbarsky
2003-11-17 00:35:17 +00:00
karnaze@netscape.com
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
smontagu@netscape.com
c036d757ad
Fix regression with form controls on visual bidi pages. Bug 142233, r=jkeiser, sr=kin
2002-07-10 00:52:17 +00:00
dbaron@fas.harvard.edu
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
dbaron@fas.harvard.edu
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
waterson@netscape.com
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
karnaze@netscape.com
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
karnaze@netscape.com
9a13af360b
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
2002-02-19 15:48:28 +00:00
waterson@netscape.com
d05e65aea2
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
karnaze@netscape.com
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
karnaze@netscape.com
b1f36968fa
bug 97138 - rework of table, row group, row, cell height code. sr=attinasi, r=alexsavulov
2001-11-05 00:15:51 +00:00
dbaron@fas.harvard.edu
d3f01c8c10
Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
2001-10-26 05:06:07 +00:00
dougt@netscape.com
2605bce49e
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
2001-10-23 01:37:21 +00:00
dbaron@fas.harvard.edu
794816bc8e
Fix 'text-decoration: blink' and the blink element. Patch from Chase Tingley <tingley@sundell.net>. r=dbaron sr=hyatt b=89065
2001-10-11 00:15:09 +00:00
gerv@gerv.net
58d409fba9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
waterson@netscape.com
e8403a2f92
Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi
2001-09-05 20:27:19 +00:00
dbaron@fas.harvard.edu
a9aa77073f
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
hyatt@netscape.com
dfdfa14592
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
erik@netscape.com
d53866c9ff
bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
...
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:13:03 +00:00
attinasi@netscape.com
64caf1eafd
Fixes box-sizing for absolutely positioned elements. b=67690 r=waterson (and buster R.I.P), sr=hyatt
2001-03-06 05:56:19 +00:00