Commit Graph

310 Commits

Author SHA1 Message Date
buster%netscape.com
21e08756c0 irrationally-specified table (one where the width attributes of various rows don't add up to the same value,
and/or to the width attribute on the table itself), the rule is to try to give the column the largest value
assigned to it by any cell intersecting that column.
Separate storage is maintained for a column's natural desired width (width from any source other than a cell
with a colspan) and the maximum contribution to the column's width from any cell with a colspan.
1998-11-16 06:46:00 +00:00
michaelp%netscape.com
7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
buster%netscape.com
cc897db604 fixed a tiny bug in handling unexpected frames in a row 1998-11-12 21:04:41 +00:00
buster%netscape.com
f4b68564d6 col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...
1998-11-12 18:37:28 +00:00
buster%netscape.com
ce19ab8f3c support for frame and rules attribute 1998-11-11 19:56:02 +00:00
troy%netscape.com
527ee073f8 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
kipp%netscape.com
af89649a87 Improved the table warning diagnostic 1998-11-09 23:35:05 +00:00
troy%netscape.com
081c78e696 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
buster%netscape.com
a8be97a521 fixed the bug where events were not getting passed down to content inside
of cells with rowspans.  Basically, I just override HandleEvent() in nsTableRowGroupFrame
to ask nsTableRowFrame::Contains(), rather than the default action which is to
just use the child's rect.
1998-11-07 00:36:37 +00:00
joki%netscape.com
cc216cef21 Fixup calls to DumpCellMap() with NS_DEBUG #ifdefs 1998-11-06 02:38:17 +00:00
buster%netscape.com
f2bd19c65b various small fixes and clean up 1998-11-05 21:42:46 +00:00
buster%netscape.com
983a5d4e43 removed some inefficiencies in finding the parent table frame.
Now the parent table frame is cached in the reflow state.
1998-11-04 20:09:19 +00:00
buster%netscape.com
95dc9f956f in default 2-pass layout, tables with auto width and with all columns coord width now act like auto width tables,
not like specified width (which you might logically expect since all column widths are specified, but sadly that's
not the way Nav or IE interprets this case. )
nsTableFrame's use of IsPseudoFrame has been removed.
1998-11-04 19:33:27 +00:00
peterl%netscape.com
cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00
buster%netscape.com
fdcb34465c tables were not properly respecting maxElementSize in cells with colspan. now they do. 1998-11-02 22:19:17 +00:00
buster%netscape.com
928e6c5f56 fixed rowspan/cell height problem where subsequent rowspanning cells can
effect previous cell heights.
1998-11-02 18:32:14 +00:00
buster%netscape.com
f01655410d implemented basic attribute changed handling. most things currently work, those that don't will work better after Peter
lands some style context resolution changes.
1998-10-30 23:08:34 +00:00
buster%netscape.com
03cad6390d some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00
michaelp%netscape.com
fc225bf7c1 changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
buster%netscape.com
d029154680 minor fix in determining which layout algorithm to call based on available size 1998-10-29 19:42:43 +00:00
buster%netscape.com
21c24fad8c minor tweak to column handling 1998-10-27 08:38:56 +00:00
buster%netscape.com
7267908f46 fixed bug 1188. Colspans beyond the end of the table were adding entries
into the column cache, which is very, very bad.
1998-10-26 19:15:31 +00:00
buster%netscape.com
a56810053c fixed bug 1180 (mozilla.org) and all tables that have nonsense colspans 1998-10-26 18:42:22 +00:00
buster%netscape.com
4d2bc42fb1 *** empty log message *** 1998-10-23 20:52:23 +00:00
buster%netscape.com
c4b345b782 fixes Bug 1110, URL=http://www.webstandards.org
ables were not correctly applying the min width of the content of cells
that had col spans in some cases.  In this case, the nested table was specified
as being too narrow for the content.  There were 4 columns each with width=25%
in the first row, and in the next row a single cell with colspan=4 and whose
content min size was wider than the specified table width.
1998-10-23 19:56:11 +00:00
buster%netscape.com
5126910ee1 fixed bug 1112 - form submission within a table sometimes doesn't work
because the form doesn't get a reflow command.  Now it does.
1998-10-23 17:24:57 +00:00
buster%netscape.com
771cfdf226 minor bug fixes 1998-10-23 03:23:29 +00:00
buster%netscape.com
7ef1be09f4 just debug info 1998-10-22 21:59:13 +00:00
buster%netscape.com
5364335be2 fixed column caching 1998-10-22 06:04:37 +00:00
buster%netscape.com
9f3bd7bbbb fixed a bug where columns were not always created as needed during incremental appends
added some extra debugging and support methods
1998-10-22 05:27:11 +00:00
buster%netscape.com
5062d0261a fixed several incremental reflow bugs 1998-10-21 22:29:00 +00:00
buster%netscape.com
ad3ce75efb incremental reflow only does pass1 reflow on new frames when necessary
fixed some rotting bits in table frame classes having to do with breaking tables
1998-10-20 20:05:44 +00:00
buster%netscape.com
e220aee18d all containers now decend from nsHTMLContainerFrame
all "unknown frame" incremental reflow support methods now
replaced with nsHTMLContainerFrame::AddFrame and ::RemoveFrame
1998-10-20 17:45:07 +00:00
buster%netscape.com
d8e6fb4c34 incremental reflow now includes insert/append/delete cell 1998-10-20 15:59:56 +00:00
buster%netscape.com
a4725c5350 minor fix, moved a method call outside an assert macro 1998-10-20 14:35:41 +00:00
buster%netscape.com
5a92ea0733 fixed a bug introduced by a slight change in GetColumnCount() 1998-10-20 05:05:17 +00:00
buster%netscape.com
7cb1f39626 rows can now be incrementally inserted, appended, and deleted. 1998-10-19 23:43:06 +00:00
buster%netscape.com
0c1c724f56 incremental reflow: append/insert/delete row group, append/insert/delete col 1998-10-15 21:07:37 +00:00
buster%netscape.com
73b4846430 progress on table incremental reflow of row group insert/append/delete 1998-10-15 07:46:16 +00:00
buster%netscape.com
2a254f6de9 nsTableFrame can now incrementally insert, append, and delete colgroups 1998-10-14 22:51:50 +00:00
spider%netscape.com
0cf90ba175 Add EOL to get to compile on Solaris 1998-10-14 22:23:26 +00:00
spider%netscape.com
7649993273 Adding EOL in files so will compile on Solaris 1998-10-14 22:12:06 +00:00
buster%netscape.com
0d373afd21 lots of work for incremental reflow when the target frame is a table frame 1998-10-14 16:32:45 +00:00
peterl%netscape.com
9f87e56fe7 set border style 1998-10-13 19:17:57 +00:00
kipp%netscape.com
a77548baff Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
dcone%netscape.com
25b03013ae took off the class name infront of the routine. Mac does not like this 1998-10-12 15:57:41 +00:00
kipp%netscape.com
ea5a5735f5 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +00:00
buster%netscape.com
56237b7411 WIP for inner table incremental reflow
lots of interface cleanup
1998-10-11 09:18:27 +00:00
buster%netscape.com
4a6afd6336 made allocation of mColumnWidths more flexible 1998-10-09 21:53:07 +00:00
buster%netscape.com
2aa95d75a8 support nsTableOuterFrame incremental reflow 1998-10-09 19:59:45 +00:00