949 Commits

Author SHA1 Message Date
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
karnaze%netscape.com
a8c727d080 bug 127471 - construct the correct nsStyleBorder for border collapse cells, . sr=roc, r=alexsavulov, a=asa
git-svn-id: svn://10.0.0.236/trunk@116057 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 15:23:08 +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
bernd.mielke%snafu.de
764a1f1e58 patch by fantasai - removing standard table background painting as our old quirks mode background
painting is now more CSS2 compliant (the w3c published a errata) bug 4510
r=karnaze sr=attinasi a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115144 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 05:36:16 +00:00
mkaply%us.ibm.com
c1b38beab8 Fix HPUX bustage - some compilers don't like a comma on the last enum
git-svn-id: svn://10.0.0.236/trunk@115105 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 13:48:50 +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
bernd.mielke%snafu.de
26bd706ce7 wider use of GetEffectiveColCount bug 100034 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114671 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 06:03:36 +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
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
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
bernd.mielke%snafu.de
f39c6bf178 bug 112010 fix build warnings r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111350 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 10:52:48 +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
karnaze%netscape.com
3f55397ff2 fixed bug 111872 - 2nd patch to allow the special reflow logic to apply to resize reflows in addition to incremental reflows. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@110259 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 15:02:36 +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
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
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
300e242585 bug 111872 - Keep track of pct height content that overflows a cell on the 3rd pass reflow and Hide it. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@109073 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 00:50:08 +00:00
karnaze%netscape.com
d537a4df3c bug 103925 (3rd patch) - display changes in reflow parameters. sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@108959 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 01:45:46 +00:00
bernd.mielke%snafu.de
51626fd157 fix a build warning (troy) r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108876 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-25 20:38:30 +00:00
bernd.mielke%snafu.de
29ff86caf8 bug 99923 react correctly on style change reflows targetted at higher frames
r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@108817 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 19:34:59 +00:00
karnaze%netscape.com
eb086b139a bug 102784 - only start a row on another page if it doesn't fit on the current one if there is less than 5% of the current page space left. sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@108700 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 14:42:00 +00:00
karnaze%netscape.com
52eaf06781 bug 30692 (additional patch) - deal width percent height based contents inside a table cell during an incremental reflow. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@108699 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 14:38:40 +00:00
karnaze%netscape.com
79395becd5 bug 110566 - get correct cell spacing value when calculating pct height basis on table. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@108523 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 01:21:18 +00:00
karnaze%netscape.com
0fcba4eb02 bug 110523 - Get the correct starting row index when inserting a new row in a tbody that is not the first one. sr=atinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@108515 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 00:58:53 +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
20df1e1ac0 bug 110369 - pedemont's patch to put child on pixel boundary when center aligning. r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@108301 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 14:54:11 +00:00
karnaze%netscape.com
cb584f37c6 bug 80966 - calc row desired size when printing based on split height of cells. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@108169 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 14:58:27 +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
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
f410e9f281 bug 77982 - consider border/padding on a cell that goes from empty to non-empty during an incremental reflow. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@107494 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 23:05:32 +00:00
karnaze%netscape.com
d4308b507a bug 107857 - add -moz-show-background value to empty-cells and make that the quirk default. sr=attinasi, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@107482 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 22:52:59 +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
548b21d542 additional patch for bug 97138 to cache pct height info on row and constrain sum of row height pcts <= 100.
git-svn-id: svn://10.0.0.236/trunk@107334 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 15:15:24 +00:00