troy
ff91686953
Changes to the caption handling code
1998-07-08 20:21:17 +00:00
troy
3a510d5648
Tables not allow only one caption
1998-07-08 04:49:01 +00:00
troy
dbb8e4e65a
Cleaned up ShrinkWrapChildren so pass 1 doesn't resize the rows
1998-07-07 03:48:21 +00:00
buster
72142b30f4
fixed 3 dumb bugs I introduced recently.
...
1. cellmap couldn't properly delete CellData because definition was unavailable
2. optimized table cells made taller wouldn't shrink when they should because we were not
remembering the previous desired height of the cell.
3. rows were placing cells on the left edge, and not adding in the left margin.
1998-07-07 01:06:51 +00:00
troy
6d54a65afb
More incremental reflow changes
1998-07-07 00:49:07 +00:00
buster
f8cb71dab5
fix for empty tables. we now support tables that have no content.
1998-07-07 00:20:21 +00:00
buster
e90e663a7b
fixed a few bugs with distributing excess/restricted space inappropriately.
...
we now pass around info about whether we're an auto width table.
1998-07-06 22:48:19 +00:00
troy
35c2e6b45c
Incremental reflow work-in-progress
1998-07-06 21:39:23 +00:00
buster
5135afe659
added support for "effective column widths", the width of a column pretending that spanning cells have no effect.
...
this gets us some more Nav4 compatibility.
several minor fixes.
1998-07-06 21:00:11 +00:00
troy
44b7ebb358
More work-in-progress incremental reflow code
1998-07-02 23:19:31 +00:00
kipp
f0ed6d38a2
Fixed bug where tables weren't returning a proper set of metrics
1998-07-02 21:24:56 +00:00
troy
d138bc14e1
Moved code that resized the table row cells from the row group frame
...
to the row frame. It's now handled as part of the DidReflow() post-
processing code
1998-07-02 20:35:23 +00:00
buster
b54c4bdc95
added an optimization that skips pass2 cell reflows when the new available width is unchanged
...
from the prior available width. Some real-world test cases sped up
1-2 orders of magnitude for resize reflow. Initial reflow is unchanged because
we still need to get pass1 metrics on all content.
fixed nsCSSBlockFrame.cpp to take margins into account when computing parent's available width
fixed distribution of excess space to table cells when table is bigger than the content it holds.
not quite finished yet, but better.
1998-07-02 17:40:56 +00:00
troy
8df0e96786
Some work-in-progress for incremental reflow
1998-07-02 05:39:10 +00:00
atotic
9689fc070a
Fixed the for (PRInt32 i=) problem
1998-07-01 22:40:00 +00:00
troy
183b82a765
Eliminated some usage of ChildAt()
1998-07-01 22:22:28 +00:00
troy
59d4da2785
Some work-in-progress for incremental reflow
1998-07-01 04:55:15 +00:00
troy
aa312a24e8
Removed some vertical margin collapsing stuff that wasn't needed
1998-07-01 03:03:32 +00:00
kipp
541fe9b490
Use new PropagateContentOffsets API
1998-06-30 20:22:44 +00:00
buster
70c232ebd4
fixed-width cells no longer improperly impact the available size
...
of subsequent cells in reflow pass 1
we correctly distribute extra space in a table proportionately.
We try to give the extra space to auto-width columns first,
and if there are none we distribute it to all columns.
The percentage is based on the cell content's desired size.
1998-06-30 20:12:45 +00:00
troy
add97af1d2
Moved shrink wrap code from table frame to table row group frame
1998-06-30 02:11:07 +00:00
buster
5a4c2d4364
columns that are fixed-width due to an attribute on the corresponding cell in the first row
...
now work correctly.
extra space is now properly apportioned in the "table fits" case when the table contains auto-width cells.
1998-06-30 00:37:03 +00:00
buster
1f0d9a91f1
cells no longer monkey with their available width based on attribute constraints.
...
The row does this work now. This makes table layout more properly top-down.
1998-06-29 20:38:22 +00:00
buster
705daa1418
minor tweaks for table layout
1998-06-29 03:09:14 +00:00
atotic
1437970bf6
That for (int i)... problem fix
1998-06-27 02:49:36 +00:00
atotic
12f2a33570
Another class reference inside class declaration problem
class A {
void A:method
};
is bad
1998-06-27 02:48:39 +00:00
atotic
afb360e8c5
Fixed mac warnings
1998-06-27 02:47:44 +00:00
buster
471f5b46a8
support for Nav4 compatibility -- auto-width cells with 0-width content are 1 pixel wide
1998-06-26 23:31:33 +00:00
kipp
b00f7215a5
Eliminated IRIX compiler warnings (and a bug)
1998-06-26 15:07:09 +00:00
buster
d7cca42032
fixed some nested table bugs and made some minor adjustments to Kipp's new line layout code.
1998-06-26 00:48:44 +00:00
troy
04e9ce1a5f
Added some asserts to the incremental reflow code
1998-06-24 22:05:59 +00:00
buster
ba02200c08
fixed some bugs related to rowspans. This gets us closer on pages like Mozilla.org that were getting wild table heights.
1998-06-24 19:13:19 +00:00
troy
48262a93f9
Changed to make sure we set the (x,y) for the frame before we reflow it
1998-06-24 18:09:47 +00:00
troy
d8ba6d4919
Changed to make sure we link the child frame into the list of frames before
...
we reflow it
1998-06-24 16:35:21 +00:00
troy
9419e27a89
Some incremental reflow changes
1998-06-24 04:38:52 +00:00
buster
9605fb0d2f
now tables with precent width nested within tables with auto width work
1998-06-24 00:40:33 +00:00
buster
aca4c96fbe
lots of nested tables look much better
...
misc. nav4 compatibility enhancements
added the ability to QueryInterface for some specific table frame types
1998-06-23 23:23:21 +00:00
troy
ea085cab4b
Some work-in-progress for table incremental reflow
1998-06-23 05:43:27 +00:00
troy
7d13a4fd7f
Eliminated mFirstPassValid and changed code to key off the reflow
...
reason
1998-06-22 21:59:43 +00:00
troy
14b98d4773
Started hooking up incremental reflow. So far we only handle changed
...
captions
1998-06-22 05:34:17 +00:00
troy
36e45e1fac
Work in progress for incremental reflow
1998-06-19 05:21:45 +00:00
troy
3456471e4f
Eliminated nsTableCaptionFrame and now we just use a nsBodyFrame instead
1998-06-19 00:34:12 +00:00
buster
3d98654938
minor updates and fixes
1998-06-17 19:51:51 +00:00
buster
288d645ae3
Separated table content from table layout. This paves the way for XML/CSS-2 tables.
...
Lots and lots of optimizations.
1998-06-17 16:38:24 +00:00
troy
0257810c1e
Changed PaintChildren() to only paint those children that intersect
...
the dirty rect
1998-06-14 00:45:21 +00:00
troy
635160598d
Changed ResizeReflowPass1() to default to the reflow reason that was
...
passed in and not resize
1998-06-12 04:28:07 +00:00
troy
0a13434a4d
Fixed some places where the reflow reason wasn't getting correctly set for
...
the initial reflow
1998-06-12 04:11:41 +00:00
troy
6e3ac5fd90
Changed how cell layout data is accessed
1998-06-11 22:51:54 +00:00
troy
421b1e3377
Eliminated FindCellLayoutData() and changed code to use GetCellLayoutData()
...
instead
1998-06-11 18:50:17 +00:00
buster
f1483bd22e
more separation between table content and frames
1998-06-11 17:50:51 +00:00