Commit Graph

127 Commits

Author SHA1 Message Date
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
0ba0825eb4 Initialized mColLayoutData to nsnull 1998-06-23 22:45:26 +00:00
vidur
b5f413930d Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface. 1998-06-23 18:43:06 +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
16ea80e42f Addded some helper functions to determine whether a content object is
a table cell
1998-06-17 15:21:02 +00:00
troy
4f0977b3b9 Changed cast of content objects to nsTableContent* to query interface
of nsITableContent
1998-06-17 05:28:36 +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
buster
9034e41c54 continuing work to separate content from frames 1998-06-11 15:46:37 +00:00
troy
63f9e5f77a Added some XXX performance reminders 1998-06-11 04:57:56 +00:00
buster
d3d2d16edd more cleanup and frame/content separation 1998-06-11 00:41:09 +00:00
buster
2d31c54583 some tentative steps towards content/frame separation in tables 1998-06-11 00:13:18 +00:00
troy
66b6882d23 Added nsIReflowCommand interface 1998-06-09 04:51:44 +00:00
buster
eebf3db2c1 backed out an inline for UNIX build 1998-06-09 03:53:35 +00:00
rods
19bb8ad4ac moved inlined SetCellAt to body 1998-06-08 22:07:15 +00:00
buster
d80cb849ee less inlining, for UNIX and Linux builds 1998-06-08 20:53:43 +00:00
buster
469b205bb3 most HTML 4 attributes supported (though some are still ignored)
lots of methods made inline
1998-06-08 19:57:04 +00:00
buster
48aad57390 complete HTML 3.2 attribute support 1998-06-08 17:19:26 +00:00
buster
0197ad9b72 more attributes: cell nowrap, caption align, some misc HTML 4 attributes too 1998-06-08 15:47:03 +00:00
kipp
0528089f8d Fixed table cell's so that translate valign back to a string properly 1998-06-06 01:48:10 +00:00