308 Commits

Author SHA1 Message Date
buster%netscape.com
ed61619f6b fixed a tiny bug in handling unexpected frames in a row
git-svn-id: svn://10.0.0.236/trunk@14521 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:04:41 +00:00
buster%netscape.com
eeaf9cbedd col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...


git-svn-id: svn://10.0.0.236/trunk@14512 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 18:37:28 +00:00
buster%netscape.com
0a52434582 support for frame and rules attribute
git-svn-id: svn://10.0.0.236/trunk@14443 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:56:02 +00:00
troy%netscape.com
1c0da71da3 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list


git-svn-id: svn://10.0.0.236/trunk@14333 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 06:05:32 +00:00
kipp%netscape.com
bce0142060 Improved the table warning diagnostic
git-svn-id: svn://10.0.0.236/trunk@14313 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 23:35:05 +00:00
troy%netscape.com
cdf69643a6 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.


git-svn-id: svn://10.0.0.236/trunk@14289 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:40:27 +00:00
buster%netscape.com
96b01811a9 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.


git-svn-id: svn://10.0.0.236/trunk@14218 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 00:36:37 +00:00
joki%netscape.com
e8fb4a2070 Fixup calls to DumpCellMap() with NS_DEBUG #ifdefs
git-svn-id: svn://10.0.0.236/trunk@14188 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 02:38:17 +00:00
buster%netscape.com
d2c0910241 various small fixes and clean up
git-svn-id: svn://10.0.0.236/trunk@14163 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 21:42:46 +00:00
buster%netscape.com
d2ee90c6f6 removed some inefficiencies in finding the parent table frame.
Now the parent table frame is cached in the reflow state.


git-svn-id: svn://10.0.0.236/trunk@14097 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 20:09:19 +00:00
buster%netscape.com
cbe75d082c 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.


git-svn-id: svn://10.0.0.236/trunk@14095 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 19:33:27 +00:00
peterl%netscape.com
93d3fcc553 sync to style resolution api changes
git-svn-id: svn://10.0.0.236/trunk@14009 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:33:43 +00:00
buster%netscape.com
fe5f58e6b1 tables were not properly respecting maxElementSize in cells with colspan. now they do.
git-svn-id: svn://10.0.0.236/trunk@13920 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:19:17 +00:00
buster%netscape.com
1d02eeaa85 fixed rowspan/cell height problem where subsequent rowspanning cells can
effect previous cell heights.


git-svn-id: svn://10.0.0.236/trunk@13889 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 18:32:14 +00:00
buster%netscape.com
1249f0b7be implemented basic attribute changed handling. most things currently work, those that don't will work better after Peter
lands some style context resolution changes.


git-svn-id: svn://10.0.0.236/trunk@13764 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 23:08:34 +00:00
buster%netscape.com
cf08e060ad some extremely preliminary work for styleChanged incremental reflow
git-svn-id: svn://10.0.0.236/trunk@13722 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 07:57:44 +00:00
michaelp%netscape.com
29bd495725 changes to support nsIRenderingContext that conforms to COM conventions.
git-svn-id: svn://10.0.0.236/trunk@13703 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 02:08:25 +00:00
buster%netscape.com
378581e3b2 minor fix in determining which layout algorithm to call based on available size
git-svn-id: svn://10.0.0.236/trunk@13661 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 19:42:43 +00:00
buster%netscape.com
18de1add17 minor tweak to column handling
git-svn-id: svn://10.0.0.236/trunk@13551 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 08:38:56 +00:00
buster%netscape.com
2865244818 fixed bug 1188. Colspans beyond the end of the table were adding entries
into the column cache, which is very, very bad.


git-svn-id: svn://10.0.0.236/trunk@13461 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 19:15:31 +00:00
buster%netscape.com
ebc6d89a67 fixed bug 1180 (mozilla.org) and all tables that have nonsense colspans
git-svn-id: svn://10.0.0.236/trunk@13459 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 18:42:22 +00:00
buster%netscape.com
182a2d0cc7 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@13402 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 20:52:23 +00:00
buster%netscape.com
1e16c84e01 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.


git-svn-id: svn://10.0.0.236/trunk@13394 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 19:56:11 +00:00
buster%netscape.com
67cffb963d fixed bug 1112 - form submission within a table sometimes doesn't work
because the form doesn't get a reflow command.  Now it does.


git-svn-id: svn://10.0.0.236/trunk@13378 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 17:24:57 +00:00
buster%netscape.com
30e2f97b27 minor bug fixes
git-svn-id: svn://10.0.0.236/trunk@13359 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 03:23:29 +00:00
buster%netscape.com
37467e85ac just debug info
git-svn-id: svn://10.0.0.236/trunk@13336 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 21:59:13 +00:00
buster%netscape.com
0ab02a302c fixed column caching
git-svn-id: svn://10.0.0.236/trunk@13307 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 06:04:37 +00:00
buster%netscape.com
065cfb55ee fixed a bug where columns were not always created as needed during incremental appends
added some extra debugging and support methods


git-svn-id: svn://10.0.0.236/trunk@13305 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 05:27:11 +00:00
buster%netscape.com
cf798f296d fixed several incremental reflow bugs
git-svn-id: svn://10.0.0.236/trunk@13285 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 22:29:00 +00:00
buster%netscape.com
f3b963f1b8 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


git-svn-id: svn://10.0.0.236/trunk@13210 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 20:05:44 +00:00
buster%netscape.com
75468d7b44 all containers now decend from nsHTMLContainerFrame
all "unknown frame" incremental reflow support methods now
replaced with nsHTMLContainerFrame::AddFrame and ::RemoveFrame


git-svn-id: svn://10.0.0.236/trunk@13209 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 17:45:07 +00:00
buster%netscape.com
066a8fdc3f incremental reflow now includes insert/append/delete cell
git-svn-id: svn://10.0.0.236/trunk@13201 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 15:59:56 +00:00
buster%netscape.com
d4ea1ed1b6 minor fix, moved a method call outside an assert macro
git-svn-id: svn://10.0.0.236/trunk@13198 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 14:35:41 +00:00
buster%netscape.com
b739d3db2f fixed a bug introduced by a slight change in GetColumnCount()
git-svn-id: svn://10.0.0.236/trunk@13187 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 05:05:17 +00:00
buster%netscape.com
1b5515eaa5 rows can now be incrementally inserted, appended, and deleted.
git-svn-id: svn://10.0.0.236/trunk@13141 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 23:43:06 +00:00
buster%netscape.com
28617bfaaa incremental reflow: append/insert/delete row group, append/insert/delete col
git-svn-id: svn://10.0.0.236/trunk@12922 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 21:07:37 +00:00
buster%netscape.com
88c09f9734 progress on table incremental reflow of row group insert/append/delete
git-svn-id: svn://10.0.0.236/trunk@12875 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 07:46:16 +00:00
buster%netscape.com
a53203e2ef nsTableFrame can now incrementally insert, append, and delete colgroups
git-svn-id: svn://10.0.0.236/trunk@12839 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 22:51:50 +00:00
spider%netscape.com
19d327904e Add EOL to get to compile on Solaris
git-svn-id: svn://10.0.0.236/trunk@12836 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 22:23:26 +00:00
spider%netscape.com
b4a73dfecd Adding EOL in files so will compile on Solaris
git-svn-id: svn://10.0.0.236/trunk@12835 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 22:12:06 +00:00
buster%netscape.com
4a9bcccc01 lots of work for incremental reflow when the target frame is a table frame
git-svn-id: svn://10.0.0.236/trunk@12807 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 16:32:45 +00:00
peterl%netscape.com
9f7cc4d959 set border style
git-svn-id: svn://10.0.0.236/trunk@12713 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 19:17:57 +00:00
kipp%netscape.com
df3aef5b18 Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state
git-svn-id: svn://10.0.0.236/trunk@12578 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 17:00:32 +00:00
dcone%netscape.com
b4cf5d55e6 took off the class name infront of the routine. Mac does not like this
git-svn-id: svn://10.0.0.236/trunk@12576 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 15:57:41 +00:00
kipp%netscape.com
3af8f78a16 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling
git-svn-id: svn://10.0.0.236/trunk@12575 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 14:48:02 +00:00
buster%netscape.com
86cad4cf3a WIP for inner table incremental reflow
lots of interface cleanup


git-svn-id: svn://10.0.0.236/trunk@12539 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 09:18:27 +00:00
buster%netscape.com
766b603f84 made allocation of mColumnWidths more flexible
git-svn-id: svn://10.0.0.236/trunk@12454 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:53:07 +00:00
buster%netscape.com
c6417cadce support nsTableOuterFrame incremental reflow
git-svn-id: svn://10.0.0.236/trunk@12441 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 19:59:45 +00:00
troy%netscape.com
ab9971c67b Removed GetContentIndex() from nsIFrame
git-svn-id: svn://10.0.0.236/trunk@12307 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 20:35:16 +00:00
buster%netscape.com
5377ebdea8 all frames properly setting ascent and descent values for reflow
WIP incremental reflow in nsTableOuterFrame


git-svn-id: svn://10.0.0.236/trunk@12283 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 15:34:48 +00:00