bmlk%gmx.de
7eb545bb4e
reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@150759 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-28 17:02:40 +00:00
dbaron%dbaron.org
a040cc3995
Fix regressions of 'overflow: hidden' on various table display types. b=221140 r=bernd sr=roc a=asa
...
git-svn-id: svn://10.0.0.236/trunk@150259 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-12 23:00:54 +00:00
bmlk%gmx.de
156e36eb9b
avoid pointer to old overflow area as this may change underneath (FMR), bug 226870, r/sr=dbaron a=tor
...
git-svn-id: svn://10.0.0.236/trunk@150051 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-04 20:13:09 +00:00
dbaron%dbaron.org
a8191642ef
Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
...
git-svn-id: svn://10.0.0.236/trunk@149687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-24 19:46:25 +00:00
bmlk%gmx.de
02d64302fc
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
git-svn-id: svn://10.0.0.236/trunk@149063 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 11:35:52 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
bzbarsky%mit.edu
a8d0053450
Last checkin was actually for bug 222846
...
git-svn-id: svn://10.0.0.236/trunk@148193 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 04:32:57 +00:00
bzbarsky%mit.edu
aca03413bf
Make style-change reflows on the table correctly reflow the caption. Bug
...
222864, r=bernd, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@148192 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 04:30:10 +00:00
dbaron%dbaron.org
33601224e0
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147924 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:51:02 +00:00
bmlk%gmx.de
40d3d97310
build fix take 2
...
git-svn-id: svn://10.0.0.236/trunk@146843 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:34:10 +00:00
bmlk%gmx.de
c8215214df
fix for broken build on mac
...
git-svn-id: svn://10.0.0.236/trunk@146842 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:14:15 +00:00
bmlk%gmx.de
deb5f49052
overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@146838 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 16:26:30 +00:00
dbaron%dbaron.org
a17e8c0bfb
Make margins between tables and captions collapse correctly when negative margins are involved. b=213465 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@145128 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 23:04:37 +00:00
bzbarsky%mit.edu
4f63a75a74
Move to the double-'::' notation for various pseudo-elements.
...
Bug 211657, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144534 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 21:57:01 +00:00
roc+%cs.cmu.edu
b4657fef30
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144510 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 02:01:29 +00:00
dbaron%dbaron.org
69da9d4a19
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
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
67703ac4f8
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
...
git-svn-id: svn://10.0.0.236/trunk@140924 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 21:14:51 +00:00
bmlk%gmx.de
7a86de8e77
compute margin based overflow area for innertable and caption frame bug 198009 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@139956 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 19:32:09 +00:00
bzbarsky%mit.edu
cb5f836162
Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
...
<nb@ipnode.info>, r=doron, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@139745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:35:08 +00:00
bmlk%gmx.de
e951e7cc70
require the presence of the inner table frame for reflow bug 189751 r=jkeiser sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139445 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 10:31:55 +00:00
dbaron%dbaron.org
e6a2b29ebf
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
bryner%netscape.com
c44337949a
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.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
a569c670f5
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
...
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
dbaron%fas.harvard.edu
a7efa8275b
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
...
git-svn-id: svn://10.0.0.236/trunk@135476 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:12:08 +00:00
bernd.mielke%snafu.de
41c72d5fee
dont consider the outer table frame twice for a selection, bug 182449, r=karnaze sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@134666 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:22:32 +00:00
bernd.mielke%snafu.de
63c27e6db9
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
...
git-svn-id: svn://10.0.0.236/trunk@133384 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 05:29:34 +00:00
bernd.mielke%snafu.de
c43119a53d
pass selection correctly to the children of a caption, bug 164313, r=dbaron sr=bzbarsky a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@132507 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 04:53:41 +00:00
karnaze%netscape.com
49e0a9f4cb
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
waterson%netscape.com
bb86b1d414
Bug 145272. Handle incremental reflows that are targeted at a child of a caption frame. r=karnaze, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@122086 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 18:51:02 +00:00
jst%netscape.com
0e34136ef1
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu
5d19a6a9e8
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
...
git-svn-id: svn://10.0.0.236/trunk@121465 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:59:55 +00:00
waterson%netscape.com
5bae3657e6
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
...
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
attinasi%netscape.com
bd0e2b8bad
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
...
git-svn-id: svn://10.0.0.236/trunk@118446 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-07 18:26:35 +00:00
karnaze%netscape.com
3cc1086578
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
...
git-svn-id: svn://10.0.0.236/trunk@117609 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 05:50:24 +00:00
dbaron%fas.harvard.edu
0b4effd4ea
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
...
git-svn-id: svn://10.0.0.236/trunk@117556 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:38:13 +00:00
karnaze%netscape.com
e4f8ba49ca
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.
...
git-svn-id: svn://10.0.0.236/trunk@116402 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:21:35 +00:00
shaver%mozilla.org
e045387a83
reversion of patch for 92868, to repair severe regression (129827, a=drivers
...
git-svn-id: svn://10.0.0.236/trunk@116295 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:16:01 +00:00
karnaze%netscape.com
7cf7c2cc59
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.
...
git-svn-id: svn://10.0.0.236/trunk@116150 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 15:34:33 +00:00
karnaze%netscape.com
430941b018
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
timeless%mac.com
5be877f2d4
Bug 124744 remove nsIPtr
...
r=bryner sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114246 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:12:50 +00:00
waterson%netscape.com
b6978c3e09
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
bernd.mielke%snafu.de
52ac925bc3
bug 106966 more table frames will now be able to clip the overflow r=karnaze sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@110109 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 05:39:45 +00:00
karnaze%netscape.com
d8577654db
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
karnaze%netscape.com
56be8b5ead
bug 112182 - check for null pointers, sr=attinasi, r=bernd.
...
git-svn-id: svn://10.0.0.236/trunk@109226 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:55:27 +00:00
karnaze%netscape.com
e3817c5a55
bug 110474 - fix pixel rounding errors. sr=attinasi, r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@108478 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 15:51:28 +00:00
karnaze%netscape.com
65fe290a5b
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@108053 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:40:03 +00:00
bernd.mielke%snafu.de
dbb80ab0d1
style change reflows should be send down to the childrens, bug 108340, r=karnaze
...
sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108047 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 11:40:03 +00:00
bzbarsky%mit.edu
068756d821
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
karnaze%netscape.com
7265213615
bug 105166 - additional patch to place rounding code in the right place. sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@107535 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 02:38:49 +00:00
karnaze%netscape.com
b1771999ca
bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@106966 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:31:13 +00:00