Commit Graph

299 Commits

Author SHA1 Message Date
dbaron@dbaron.org
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
bmlk@gmx.de
12126af60a issue style change reflow also at the table caption when there is a style change reflow
that is targeted at the inner table frame. This is currently necessary due to bizarre
style contetxt relationsship between inner and outer table frame, bug 222846 r/sr=bzbarsky
2003-11-09 11:35:52 +00:00
uid502
4fc4723244 Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bzbarsky@mit.edu
665552deec Last checkin was actually for bug 222846 2003-10-21 04:32:57 +00:00
bzbarsky@mit.edu
005470aa15 Make style-change reflows on the table correctly reflow the caption. Bug
222864, r=bernd, sr=dbaron
2003-10-21 04:30:10 +00:00
dbaron@dbaron.org
9446ce805f Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
bmlk@gmx.de
93afce2dbd build fix take 2 2003-09-13 17:34:10 +00:00
bmlk@gmx.de
8fdef40f79 fix for broken build on mac 2003-09-13 17:14:15 +00:00
bmlk@gmx.de
474757012f overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron 2003-09-13 16:26:30 +00:00
dbaron@dbaron.org
89a7103186 Make margins between tables and captions collapse correctly when negative margins are involved. b=213465 r=bernd sr=roc 2003-07-23 23:04:37 +00:00
bzbarsky@mit.edu
cd6e02fda7 Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
roc+@cs.cmu.edu
8586019741 Ongoing deCOMtamination. r+sr=dbaron 2003-07-07 02:01:29 +00:00
dbaron@dbaron.org
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
dbaron@dbaron.org
0d4f326b19 The table outer frame should not get events for any coordinates, since it includes the margins of the table and caption. b=200966 r=bernd sr=bzbarsky 2003-04-09 21:14:51 +00:00
bmlk@gmx.de
b64bcf1942 compute margin based overflow area for innertable and caption frame bug 198009 r/sr=bzbarsky 2003-03-21 19:32:09 +00:00
bzbarsky@mit.edu
19eddc8944 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
bmlk@gmx.de
a1a242feba require the presence of the inner table frame for reflow bug 189751 r=jkeiser sr=roc+moz 2003-03-14 10:31:55 +00:00
dbaron@dbaron.org
834096485c Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner@netscape.com
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
dbaron@dbaron.org
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
dbaron@fas.harvard.edu
7afb0869ad Replace NS_BLOCK_WRAP_SIZE with making unconstrained-width reflow of frames with NS_BLOCK_SPACE_MGR consider the floats. This means we no longer use the overflow area for layout (other than the overflow property). Handle right floaters in unconstrained width reflow by just treating them as left floaters. b=172896 r+sr=roc 2002-12-19 00:12:08 +00:00
bernd.mielke@snafu.de
2d2c7375a5 dont consider the outer table frame twice for a selection, bug 182449, r=karnaze sr=dbaron 2002-12-03 05:22:32 +00:00
bernd.mielke@snafu.de
9aab2035c7 Implement for table captions caption-side: left and right, also <caption align="left"> and right, further vertical-align:top, middle and bottom for table captions bug 3166 r=karnaze sr=kin 2002-11-08 05:29:34 +00:00
bernd.mielke@snafu.de
a9fc041b56 pass selection correctly to the children of a caption, bug 164313, r=dbaron sr=bzbarsky a=dbaron 2002-10-25 04:53:41 +00:00
karnaze@netscape.com
7ce5d8ded3 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
waterson@netscape.com
4fcec18d36 Bug 145272. Handle incremental reflows that are targeted at a child of a caption frame. r=karnaze, sr=jst 2002-05-23 18:51:02 +00:00
jst@netscape.com
78ccba6821 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +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
attinasi@netscape.com
3cf472929f stop positioning views for floaters before the frame is placed - avoids flicker due to painting at erroneous position. b=128133 r=karnaze,dbaron sr=waterson a=roc,jaimejr 2002-04-07 18:26:35 +00:00
karnaze@netscape.com
38c1ab328b bug 123983 - set mIsTopOfPage in the reflow state, fix desired height in rows and row groups, clean up nsTableRowGroupFrame::SplitRowGroups and handle more cases of splitting/moving rows. a=roc+moz, sr=attinasi, r=alexsavulov 2002-03-27 05:50:24 +00:00
dbaron@fas.harvard.edu
771618df2c Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa 2002-03-27 02:38:13 +00:00
karnaze@netscape.com
1ca2aeac53 bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron. 2002-03-12 15:21:35 +00:00
shaver@mozilla.org
f496748aa7 reversion of patch for 92868, to repair severe regression (129827, a=drivers 2002-03-10 06:16:01 +00:00
karnaze@netscape.com
3c53ca4de3 bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa. 2002-03-08 15:34:33 +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
timeless@mac.com
cad7cf3287 Bug 124744 remove nsIPtr
r=bryner sr=alecf
2002-02-12 04:12:50 +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
bernd.mielke@snafu.de
637428f552 bug 106966 more table frames will now be able to clip the overflow r=karnaze sr=attinasi 2001-12-09 05:39:45 +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
8b0d36dd15 bug 112182 - check for null pointers, sr=attinasi, r=bernd. 2001-11-29 15:55:27 +00:00
karnaze@netscape.com
b72c3a549f bug 110474 - fix pixel rounding errors. sr=attinasi, r=bernd 2001-11-19 15:51:28 +00:00
karnaze@netscape.com
a3ac20fe84 bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +00:00
bernd.mielke@snafu.de
b7f36303d3 style change reflows should be send down to the childrens, bug 108340, r=karnaze
sr=attinasi
2001-11-14 11:40:03 +00:00
bzbarsky@mit.edu
aa00eb2f47 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
karnaze@netscape.com
638376278b bug 105166 - additional patch to place rounding code in the right place. sr=attinasi. 2001-11-07 02:38:49 +00:00
karnaze@netscape.com
0c19e014cb bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov 2001-11-01 15:31:13 +00:00
karnaze@netscape.com
fd6766bd9b bug 106158 - changed outer table fix up of nested inner table's computed width to consider if the min width fits.
removed tree specific code. sr=waterson, r=alexsavulov.
2001-11-01 04:17:30 +00:00
karnaze@netscape.com
63f46f0ed2 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
karnaze@netscape.com
1dc1d5fdf7 bug 86314 - invalidate properly when the inner table changes width. sr=attinasi, r=kmcclusk. 2001-10-22 14:24:54 +00:00