499 Commits

Author SHA1 Message Date
karnaze%netscape.com
21b23754fb bug 149436 - shanmu's patch to fix crash on OSF/1, sr=kin, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@123582 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 13:43:19 +00:00
karnaze%netscape.com
fbaf4d843a bug 144024 - Don't store first in flow row groups and rows in map border iterator. Use row group of first in flow row group when accessing offset for borders. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@122421 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 14:40:51 +00:00
bernd.mielke%snafu.de
886ec4bd2d removal of debug cruft bug 146474 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@122269 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 18:55:34 +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
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
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
karnaze%netscape.com
fc7ff3663e bug 120107 - calc max/max-elem sizes when requested during an unconstrained incremental reflow. sr=waterson, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@121165 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:28:28 +00:00
bernd.mielke%snafu.de
8dbd814839 hide also collapsed borders when the table is hidden, bug 135782 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120420 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 05:33:11 +00:00
karnaze%netscape.com
786a9b3275 bug 138436 - remove redundant style change reflows on auto-layout table. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@120120 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 15:54:37 +00:00
karnaze%netscape.com
6dcf85a892 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.
git-svn-id: svn://10.0.0.236/trunk@118648 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:32:41 +00:00
karnaze%netscape.com
312699b125 bug 135112 - correctly set border collapse damage area and fix it if incorrect when borders are calculated. a=asa, adt=jaimejr, sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@118408 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:56:45 +00:00
karnaze%netscape.com
b5480ba60f bug 134845 - avoid dividing by zero during pixel rounding. a=asa, adt=jamiejr, sr=attinasi, r=kin
git-svn-id: svn://10.0.0.236/trunk@118406 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:28:39 +00:00
karnaze%netscape.com
f0d801b686 bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@117851 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 06:46:17 +00:00
dbaron%fas.harvard.edu
94075d45c2 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +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
4b57a2558c bug 132130 - Get correct starting row on collapsing border iterator. a=scc, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@117409 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 15:03:14 +00:00
karnaze%netscape.com
009e7ede52 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@116758 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:35:08 +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
0536167ed4 bug 128876 - expanded border collapse damage area to include spanners. sr=roc, r=bernd, a=asa
git-svn-id: svn://10.0.0.236/trunk@116060 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 15:33:49 +00:00
bernd.mielke%snafu.de
4e818534f4 bug 122899 encapsulate debug code r=karnaze sr=attinasi a=roc+moz
bug 128229 pass stylechange reflow to table childrens r=karnaze sr=roc+moz a=asa


git-svn-id: svn://10.0.0.236/trunk@115956 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 15:56:32 +00:00
karnaze%netscape.com
594dd0831d bug 43039 - allow col to get next col in different col group for border collapse calc. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@115824 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 15:23:28 +00:00
karnaze%netscape.com
a32de30fd5 bug 120364 - remove framelist assertion; have table with height return correct desired height when row group splits. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@115722 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 15:48:56 +00:00
karnaze%netscape.com
18d5826f1c bug 126742 - correct typo, setting the correct offset. sr=attinasi, r=alexsavulov, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115340 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:43:12 +00:00
karnaze%netscape.com
6770b82ba7 bug 127040 - paint backgrounds in correct order when there are collapsed borders. sr=kin, r=dbaron, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115335 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:27:42 +00:00
brade%netscape.com
2fa52a2da9 fix mac build bustage
git-svn-id: svn://10.0.0.236/trunk@114941 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 18:27:25 +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
karnaze%netscape.com
14130fefa0 bug 124985 - nsCSSFrameConstructor - let the form frame have its original parent. nsTableFrame - don't reflow foreign frames. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@114804 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:57:19 +00:00
dcone%netscape.com
8944f478a1 b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
git-svn-id: svn://10.0.0.236/trunk@114597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:48:12 +00:00
cathleen%netscape.com
ec77313291 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
brade%netscape.com
304d38021f remove unused static kITableRowGroupFrameIID saving 16 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111701 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:46:00 +00:00
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +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
f9dc3f03b9 bug 51023 - reduce the size of table related frame classes. sr=kin.
git-svn-id: svn://10.0.0.236/trunk@109358 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 15:05:51 +00:00
karnaze%netscape.com
33ac3614b6 bug 111028 - better height calc for table elements when printing. r=rods, sr=none.
git-svn-id: svn://10.0.0.236/trunk@109221 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:41:07 +00:00
karnaze%netscape.com
2478679da6 bug 109043 - made percent tables without a computed height initiate a special 3rd pass reflow only when a table related frame up the chain has a fixed or percent height. Made row groups not allocate additional vertical space to percent rows in excess of the table height. sr=attinasi,r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@108054 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:44:38 +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
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
attinasi%netscape.com
11481ea927 Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@107407 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:44:20 +00:00
karnaze%netscape.com
d30758e3fc bug 97138 - rework of table, row group, row, cell height code. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@107299 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 00:15:51 +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
karnaze%netscape.com
4ff0e5cecb bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
karnaze%netscape.com
6c1a4b003e bug 60816 use correct cell when rowspan and colspan overlap. Fix pixel rounding errors. sr=attiansi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106308 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:30:38 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
576d4b2e6d bug 82401 - remove cell from correct parent when cell spans into split row; work around bug 101264 by doing initial reflow with unconstrained height. sr=kin, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@103623 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 14:53:06 +00:00