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
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
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
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
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
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
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
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
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
karnaze%netscape.com
2f5ef17932
bug 105268 - set NS_FRAME_OUTSIDE_CHILDREN on row when cells have rowspan>1 so that painting will not clip to row. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@105975 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:21:19 +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
84205c2f3e
Fix bug "IFrames repositioned by whitespace in HTML" (no number yet) - give cols with no content 0 width unless they have style width, sr=kin, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@103837 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 13:49:26 +00:00
karnaze%netscape.com
1540a4c12e
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
karnaze%netscape.com
441c2cc5db
bug 78162 - don't optimize resize reflow on cell if its desired size exceeds its last avail size, sr=timeout, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@100394 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 14:04:58 +00:00
karnaze%netscape.com
425d5dcdf1
bug 89116 - rebalance table on cell incremental reflow when maximum width changes. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@99243 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 23:49:30 +00:00
bernd.mielke%snafu.de
4cb004e05c
remove cellspacing from table row background, bug 86220 r=dbaron sr=attinasi sr=asa
...
git-svn-id: svn://10.0.0.236/trunk@97549 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 04:48:34 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
karnaze%netscape.com
5c53575529
bug 59280 - better splitting of row groups/rows with rowspans. r=dcone.
...
git-svn-id: svn://10.0.0.236/trunk@92400 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-16 14:51:52 +00:00
karnaze%netscape.com
dc9119345d
bug 57467 - print a new row on the current page if it will waste too much space otherwise. sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@91020 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 03:21:58 +00:00
karnaze%netscape.com
633a8de707
bug 72181 - treat style change reflow like initial reflow (with same optimizations). sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@90382 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 20:06:29 +00:00
karnaze%netscape.com
53705dbe6b
bug 72554 - fix printing assertions, account for footer space when spliting row group and reflow footer. sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@90121 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 15:59:37 +00:00
timeless%mac.com
534247895d
fix Bug 70989 Clean up lots of "shadows" and other common warnings
...
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
karnaze%netscape.com
c76866e3ea
table reflow coalescing, table reflow face lift. sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@89462 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:38:59 +00:00
rbs%maths.uq.edu.au
1a3029c4da
Avoid ignorable whitespace in tables by setting the frame state-bit to this effect - bug 68411 r=karnaze sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@87804 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:35:34 +00:00
pierre%netscape.com
8944a57fe0
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
...
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
rods%netscape.com
b23e7af50b
This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
...
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
karnaze%netscape.com
d95bd4f152
better table reflow debugging including support for elapsed time. sr=buster.
...
git-svn-id: svn://10.0.0.236/trunk@85493 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:55:51 +00:00
mcafee%netscape.com
644a6ffc68
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
...
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
148e913722
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
...
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
karnaze%netscape.com
a7ed9d39d0
bug 46623 - allocate proportional and auto cols together when balancing columns. (sr=buster, r=peterl)
...
allow columns (due to colspan) containing no originating cols at the end of the table to exist
git-svn-id: svn://10.0.0.236/trunk@84899 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 23:07:54 +00:00
karnaze%netscape.com
2712b6c214
bug 57828 - better handling of nowrap in table cell. sr=buster, r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@84820 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 23:03:37 +00:00
rods%netscape.com
a6e0d47c5a
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
karnaze%netscape.com
3a6c654791
bug 40721 - improved TallestCellGotShorter(), sr=buster, r=rods
...
git-svn-id: svn://10.0.0.236/trunk@83965 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:03:42 +00:00
karnaze%netscape.com
b405a325ad
bug 40828 - call DidSetStyleContext when reflow a cell unconstrained. a=buster, r=dcone.
...
git-svn-id: svn://10.0.0.236/trunk@82640 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 16:01:26 +00:00
karnaze%netscape.com
90f01b8db4
bug 59252 - fixed regression caused by bug 53690. Don't reflow cell's in a fixed layout table unconstrained. a=buster, r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@82638 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 14:59:47 +00:00
karnaze%netscape.com
8e0ac00366
bug 53690 - don't allow a split row to reflow its cells unconstrained. a=buster, r=dcone.
...
git-svn-id: svn://10.0.0.236/trunk@82268 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 04:25:29 +00:00
buster%netscape.com
c94c187442
bug 53690 part of table never displayed because of incremental reflow bug
...
r=karnaze
a=waterson
git-svn-id: svn://10.0.0.236/trunk@81995 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:15:32 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
karnaze%netscape.com
cbfbe360c4
bug 51392 - use nothing changed flag when deciding whether to rebalance table during row incremental reflow. a=buster, r=peterl
...
git-svn-id: svn://10.0.0.236/trunk@80471 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:05:06 +00:00
peterlubczynski%netscape.com
c57b75e783
Fix for bug 46368. Fixed cellMet.mMaximumWidth for incremental reflow. r=karnaze
...
git-svn-id: svn://10.0.0.236/trunk@78792 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:58:59 +00:00
karnaze%netscape.com
da24e59c65
bug 45350 - correctly consider rowspan height in table row incremental reflow
...
git-svn-id: svn://10.0.0.236/trunk@78139 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 14:57:34 +00:00
buster%netscape.com
4c55aad9ff
bug 48295 (floating nested table height initially 0, makes layout wrong)
...
r=karnaze
values from the wrong struct were getting passed into SetTallestCell
git-svn-id: svn://10.0.0.236/trunk@77723 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:57:58 +00:00