Commit Graph

81 Commits

Author SHA1 Message Date
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
buster
e5144b1a9c clean up, and still better cell width attribute layout 1998-06-05 22:50:03 +00:00
buster
f56ca7d23b column widths with cells that span columns now work in most cases, for pixels and percents
not yet implemented for the "constrained" case
1998-06-05 18:11:20 +00:00
peterl
91c5893512 sync up to new style data apis 1998-06-05 06:09:09 +00:00
buster
9b8b9a672d cells with colspans and width attributes now work correctly 1998-06-05 02:50:46 +00:00
buster
07076ff7cf cell width calculations are working (not for colspan cells yet)
some bug fixes and optimizations
some of the more elaborate test cases are closer to Nav4-compatible
1998-06-05 02:36:25 +00:00
kipp
bb4f90a577 Whacked to implement revised COMized insert/delete/remove/append child methods from nsIContent 1998-06-03 16:01:02 +00:00
buster
3780538b44 a variety of fixes and optimizations
together with a fix troy just checked in, this makes a lot of real-world tables look a whole lot better
1998-06-03 00:43:53 +00:00
buster
3fe1fe2844 made tables quiet again 1998-06-01 21:07:56 +00:00
buster
3086966c54 much better fixed and percentage width layout 1998-06-01 20:21:05 +00:00
kipp
9a2d1c3765 Updated a few table API's so that percentage width could be properly computed 1998-05-30 21:21:51 +00:00
buster
a58280cec0 some proportional column balancing now works
the <TABLE> COLS attribute is supported via proportional column balancing.
1998-05-29 22:08:19 +00:00
troy
7a485fcc40 Changed nsReflowState structs to be linked together 1998-05-29 20:36:05 +00:00
buster
aad54b07f6 set the groundwork for handling COLS attribute, and attributes on COLGROUP and COL tags. WIP.
set the groundwork for handling percentage-width tables.  Troy is adding a hook for me to get the correct width info from the parent.  WIP.
1998-05-28 21:39:22 +00:00
troy
27c2f0230b Added WillReflow() calls around reflowing of child frame 1998-05-28 18:37:56 +00:00
kostello
a080d1c9b5 Fix crasher loading mozilla.org page 1998-05-28 18:31:44 +00:00
buster
11d1544188 fixed case-sensitive include 1998-05-26 23:28:48 +00:00
peterl
613e577b7d added visibility style attribute 1998-05-26 23:17:29 +00:00
buster
2104457c96 table width computation using style system (more than it used to, at least) 1998-05-26 22:03:16 +00:00
kostello
e1dc943664 Updated Table Border code to render HTML3.2 compatible borders (no longer using the cool,
CSS borders).
Fixed Table but submitted by Isaac David Guedalia <daniel_sh@gezernet.co.il>.
1998-05-26 20:57:24 +00:00
troy
3ea1d2d8e3 Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function 1998-05-25 17:31:49 +00:00
kipp
eb7c893d4f Fixed windows cvpack problem 1998-05-22 18:41:08 +00:00
kipp
e5b0ee397f Removed a pile of includes 1998-05-22 18:39:28 +00:00
troy
6204c78831 Changed splittable enum to be bit flags 1998-05-22 04:54:11 +00:00
buster
aafa0d6ab4 made nsTableCaptionFrame a subclass of nsBodyFrame 1998-05-22 00:05:22 +00:00
kostello
193764594a * Added Support for cell spacing
* NOTE: due to changes in the style system -- things won't look correct right away.
1998-05-21 23:43:18 +00:00
peterl
7168f94691 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
thom
aa407491f5 fixed compile errors for mac 1998-05-19 23:11:28 +00:00
kipp
280ccad41e Fixed up code that wasn't using the nsReflowStatus constants defined in nsIFrame.h 1998-05-14 00:49:46 +00:00
peterl
df793a8c99 attribute fix for kostello 1998-05-13 22:41:15 +00:00
michaelp
d55497643c added gamma correction methods to the device context. the windows rendering context now
gamma corrects colors. fixed tablecellframe to call the right nsStyleCoord constructor.
1998-05-13 18:15:06 +00:00
peterl
9bc80be166 sync to new spacing apis 1998-05-12 22:28:01 +00:00
troy
8f2db5dfa6 Changed enum to conform with coding standards 1998-05-12 04:38:23 +00:00
troy
5b69e1f043 Change to nsIFrame API 1998-05-12 04:17:56 +00:00
troy
341b30497d Changed table code to pay attention to the ALIGN attribute 1998-05-11 21:31:12 +00:00
kipp
2358c691b7 Fixed irix bustage 1998-05-08 21:12:12 +00:00
kipp
519a6403a4 Ported to new CreateFrame/CreateContinuingFrame APIs 1998-05-07 00:08:20 +00:00
troy
d477d86672 Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +00:00
troy
b6217c70a6 Changed body to create block pseudo-frame instead of a column pseudo frame,
and hooked up the reflow appended code
1998-05-03 03:51:48 +00:00
kostello
8f901ec3a2 Cleaned up getting attribute values 1998-05-01 21:55:36 +00:00
kostello
150ca7f331 Made SetStyleContext take the presentation context as a parameter
Made DidSetStyleContext virtual, since we need to override the behavior in subclasses
Moved attribute setting logic from nsTableCell to nsTableCellFrame
Table Borders are being drawn again : )
Table Padding is being displayed
1998-05-01 20:44:55 +00:00
peterl
4c198bdb45 updated to new value class api 1998-04-30 19:55:51 +00:00
buster
0c2432db59 fixed method names 1998-04-30 18:04:16 +00:00
buster
a972bb8d29 added nsITableLayoutStrategy as the interface for objects that manage
table column balancing.  Implemented in BasicTableLayoutStrategy (HTML4-spec).
nsTableFrame instantiates a strategy depending on the compatibility mode.
1998-04-30 17:57:09 +00:00
buster
91aae361d3 fixed a rounding error, and made tables quiet 1998-04-30 15:20:23 +00:00
michaelp
33997423e6 minor tweaks to UpdateView() in view manager. if you want to invalidate a whole
view, pass in nsnull for the nsRegion param.
viewmanager InsertChild() above/below now does the right thing.
fixed cujo's table thingie.
1998-04-30 02:41:14 +00:00
buster
dcc6e9e245 lots of pre-conditions and asserts added
fixed a bug in layout having to do with sizing cells in columns that are spanned into
1998-04-30 00:27:59 +00:00