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
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
c0b185a870
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.
git-svn-id: svn://10.0.0.236/trunk@106919 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 04:17:30 +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
karnaze%netscape.com
a317d22083
bug 96343 - skip cellspacing logic when child is not a row. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@105936 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 14:37:03 +00:00
karnaze%netscape.com
f5419762fd
bug 52531 - treate style change reflow like initial when positioning cell block.
...
git-svn-id: svn://10.0.0.236/trunk@105935 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 14:31:18 +00:00
karnaze%netscape.com
9c91a2a8e3
bug 86314 - invalidate properly when the inner table changes width. sr=attinasi, r=kmcclusk.
...
git-svn-id: svn://10.0.0.236/trunk@105934 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 14:24:54 +00:00
bernd.mielke%snafu.de
bd8b619784
bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
...
r=dbaron sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105372 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 09:27:46 +00:00
alexsavulov%netscape.com
61cc775335
fix or bug 101883 - completes fix for bug 92143, adding NS_MAX check
...
sr= attinasi, r= karnaze
git-svn-id: svn://10.0.0.236/trunk@104426 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:29:26 +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
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
karnaze%netscape.com
a84183a301
bug 92143 - alexsavulov's patch for special handling of nowrap on <td> when there is a width. sr=attinasi, r=karnaze.
...
git-svn-id: svn://10.0.0.236/trunk@103444 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 13:43:18 +00:00
waterson%netscape.com
289f661b27
Bug 96228. Make nsContainerFrame::PositionFrameView position _only_ the frame's view (don't recur). Explicitly call nsContainerFrame::PositionChildViews as appropriate when moving a frame post-Reflow. Consolidate view positioning logic duplicated between PositionFrameView and SyncFrameViewAfterReflow, which now correctly computes offset for anonymous view in nsScrollFrame and accounts for scrolled views. r=kmcclusk,karnaze sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@103388 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 00:53:29 +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
attinasi%netscape.com
0808e2e5a9
Fixed a typo that was causing an assertion in one of my testcases: b=99229, r=karnaze sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@102760 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 21:28:38 +00:00
pavlov%netscape.com
699a6c2a09
fix for table 64bit lameness. bug 98686. r=gisburnd sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@102522 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 09:58:16 +00:00
rjesup%wgate.com
8b0885ab65
bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@102448 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:11:44 +00:00
waterson%netscape.com
43c613727c
Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@102321 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:27:19 +00:00
hyatt%netscape.com
4f51638ef4
Fix for 95475. r=jag, sr=ben, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
karnaze%netscape.com
4072b4f8d3
bug 48827 - round column width to even pixel when calculating percent column. sr=attinasi,r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@101622 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 04:24:10 +00:00
karnaze%netscape.com
fd3fccbde9
bug 89315 - made CalculateRowHeights incremental by starting at a row other than the 1st. Row group dirty reflow passes in first reflowed row. sr=waterson,r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@101620 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 04:18:48 +00:00
jgaunt%netscape.com
92c01c45b6
fix for bug 94768
...
r=smfr,leaf
sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@101271 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 03:13:07 +00:00
bernd.mielke%snafu.de
4dc7faa6dd
Lookup column specified fixed width before computing the colspans,
...
this is necessary for a reasonable min width distribution. bug 32841 r=karnaze
sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101090 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 07:20:18 +00:00
karnaze%netscape.com
da886dbfef
bug 85738 - added 3rd pass reflow for tables in pagination mode which specified heights. sr=attinasi, r=savulov
...
git-svn-id: svn://10.0.0.236/trunk@100549 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-08 01:13:35 +00:00
karnaze%netscape.com
1fa8130ddb
bug 80762 - improved calc of basis for auto table when there are pct cells/cols. Skipped calc for fixed width table. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@100529 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 21:26:02 +00:00
karnaze%netscape.com
76be7e8800
bug 80817 (checked in for alexsavulov) - removed table cell nowrap hack, repaired block nowrap. sr=waterson, r=karnaze.
...
git-svn-id: svn://10.0.0.236/trunk@100433 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 22:05:31 +00:00
karnaze%netscape.com
c8111aa0b2
bug 89452 - added flag to indicate a row was inserted. Invalidate the area from that row to end of table if full reflow is not needed, sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@100399 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 14:48:09 +00:00
karnaze%netscape.com
0005fc6844
bug 82946 - changed CalculateRowHeights to use correct y origin. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@100397 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 14:26:36 +00:00
karnaze%netscape.com
085d032423
bug 88524 - don't skip the reflow of the inner table if it is pct height. sr=timeout, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@100396 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 14:23:50 +00:00
karnaze%netscape.com
d73eed89ce
bug 91934 - Added static UpdateCol and call it when a cell changes width even though a rebalance is not needed. Stopped storing fix width in col as max of min and fix.
...
bug 92647 incorrectly had this description (it should have said - correct calculate preferred table widths and cache the value). sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@100395 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 14:18:50 +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
dc533afd4b
bug 92647 - Added static UpdateCol and call it when a cell changes width even though a rebalance is not needed. Stopped storing fix width in col as max of min and fix. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@100393 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 13:58:46 +00:00
attinasi%netscape.com
45460da542
Fixed crash due to blind-cast of frame to rowFrame by checking the frame type first. r=karnaze sr=waterson b=88849
...
git-svn-id: svn://10.0.0.236/trunk@99431 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 20:27:01 +00:00
bernd.mielke%snafu.de
2ca7d9b2aa
bug 45486 fixing percent colspans iterate over from the inner to the outer colspan
...
cleanup in header files, some documentation, removing cruft
bug 55694 use reflowstate.availwidth if is usefull
r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99323 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 19:15:01 +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
7d2575633c
nsTableFrame code cleanup bug 89747 r =karnaze sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@99166 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 05:53:09 +00:00
bernd.mielke%snafu.de
f4e86b65fe
Paint table background also in quirks mode. bug 46268, patch by fantasai@escape.com
...
r=bernd sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@98405 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-01 16:40:56 +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
karnaze%netscape.com
692b26c9d8
bug 84378 - make whitespace:normal the default for tables (back the way it was before recent style changes), a=asa, sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@97032 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 02:32:26 +00:00
karnaze%netscape.com
b57a715cb8
bug 76421 - remove optimization (to skip reflow if size didn't change) on initial reflow. a=asa, sr=attinasi, r=peterl
...
git-svn-id: svn://10.0.0.236/trunk@97031 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 02:27:22 +00:00
bernd.mielke%snafu.de
33eace628c
fix table margins - remove redundancy in margin handling, bug 83786
...
r=karnaze sr=attinasi a=dbaron
git-svn-id: svn://10.0.0.236/trunk@96517 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 07:35:03 +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
evaughan%netscape.com
a4d0ce6ac8
Fix for bug #80902
...
-r jeff@tcbnetworks.com -sr waterson
Fix for bug #80505
-r aaronl, jgaunt -sr brendan
git-svn-id: svn://10.0.0.236/trunk@95337 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:52:32 +00:00
karnaze%netscape.com
d94c44446b
bug 74731 - remove extraneous cols at end of cell map rows, keep table cols and cell map cols in synch. sr=attinasi, r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@95252 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 12:40:27 +00:00