buster@netscape.com
b0e257c82e
fixed cellspacing and cellpadding handling
...
default cellspacing and cellpadding now comes from the table frame itself
other frames on longer look at the "tableStyle" struct for these values
1998-12-05 05:27:21 +00:00
wtc@netscape.com
9d02582470
The second argument for GetStyleData needs to be 'const'.
1998-12-05 01:47:37 +00:00
troy@netscape.com
5d80fa70d8
Added NS_RELEASE of col frame pseudo element style context. This fixes a memory leak
1998-12-04 03:39:05 +00:00
troy@netscape.com
6596eebaad
Changed table frame code to call DeleteFrameList() so that the col group
...
frames are deleted
1998-12-04 03:14:28 +00:00
buster@netscape.com
2c2bdfb430
the inner table frame now maintains 2 child lists: the main child lists that holds rowgroups and unknown frame
...
types, and mColGroups. Besides being cleaner and easier to maintain, this should speed some things up slightly
because I don't have to check display types every time I iterate through colgroup frames. I *know*
mColGroups contains only colgroups. I might do the same for rowgroups (that is, keep unknown frame types
in their own list as well.) But that's optional.
the inner table frame used to incorrectly create actual content objects for anonymous colgroups and cols. Now,
it just creates frames as appropriate, not content. To support this, I added some pseudo style contexts and
related atoms.
1998-12-03 18:01:35 +00:00
troy@netscape.com
e602e25924
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
wtc@netscape.com
50476c767e
This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
...
C++ compiler is strict about getting 'const' right. Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
buster@netscape.com
ec6e2ff575
fixed some nested table layout problems
1998-11-30 15:10:20 +00:00
buster@netscape.com
560f1fe058
2 Nav4 compatibility additions:
...
1. width=0 is treated as width=auto, not width=min
2. empty cells <td></td> are assigned a width of (2*borderWidth + 2*cellspacing + 3) pixels
The "3" is a fudge factor added by Nav and IE.
1998-11-25 18:43:56 +00:00
buster@netscape.com
ef31504e16
implemented table height algorithms. also made a slight modification to
...
the way a table finds its container's width.
1998-11-20 01:01:25 +00:00
kipp@netscape.com
f6502df0e2
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
buster@netscape.com
d0d7d198ce
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
614b76a37f
changes for pixel scaling/printing.
1998-11-14 01:52:27 +00:00
buster@netscape.com
3a79542dcd
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
2022197c05
support for frame and rules attribute
1998-11-11 19:56:02 +00:00
troy@netscape.com
7d57a590c9
Renamed Init() to SetInitialChildList() and added an additional parameter
...
for the name of the child list
1998-11-10 06:05:32 +00:00
troy@netscape.com
b04ee51233
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
joki@netscape.com
71c770f21c
Fixup calls to DumpCellMap() with NS_DEBUG #ifdefs
1998-11-06 02:38:17 +00:00
buster@netscape.com
3dcc4ba5ed
various small fixes and clean up
1998-11-05 21:42:46 +00:00
buster@netscape.com
f6d394fcc0
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
e74acd9aca
sync to style resolution api changes
1998-11-03 20:33:43 +00:00
buster@netscape.com
6b939637a4
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
b80a9ca305
some extremely preliminary work for styleChanged incremental reflow
1998-10-30 07:57:44 +00:00
buster@netscape.com
86f2428eec
minor tweak to column handling
1998-10-27 08:38:56 +00:00
buster@netscape.com
650e16c819
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
1ea121162a
fixed bug 1180 (mozilla.org) and all tables that have nonsense colspans
1998-10-26 18:42:22 +00:00
buster@netscape.com
5b84163e76
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
67eb94d5e1
minor bug fixes
1998-10-23 03:23:29 +00:00
buster@netscape.com
89b8e1b717
just debug info
1998-10-22 21:59:13 +00:00
buster@netscape.com
f91b3cfcf4
fixed column caching
1998-10-22 06:04:37 +00:00
buster@netscape.com
9332e66cfe
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
cf730b7bd6
fixed several incremental reflow bugs
1998-10-21 22:29:00 +00:00
buster@netscape.com
63dfd5801b
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
ecd2d8b2f4
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
0114a3622b
fixed a bug introduced by a slight change in GetColumnCount()
1998-10-20 05:05:17 +00:00
buster@netscape.com
eb3fa19189
rows can now be incrementally inserted, appended, and deleted.
1998-10-19 23:43:06 +00:00
buster@netscape.com
6840b96c47
incremental reflow: append/insert/delete row group, append/insert/delete col
1998-10-15 21:07:37 +00:00
buster@netscape.com
965ebde8cb
progress on table incremental reflow of row group insert/append/delete
1998-10-15 07:46:16 +00:00
buster@netscape.com
ec6a7a583f
nsTableFrame can now incrementally insert, append, and delete colgroups
1998-10-14 22:51:50 +00:00
buster@netscape.com
c212263e76
lots of work for incremental reflow when the target frame is a table frame
1998-10-14 16:32:45 +00:00
kipp@netscape.com
9f8e72a224
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
7d43982d5a
WIP for inner table incremental reflow
...
lots of interface cleanup
1998-10-11 09:18:27 +00:00
buster@netscape.com
e786148f76
made allocation of mColumnWidths more flexible
1998-10-09 21:53:07 +00:00
buster@netscape.com
9bfada9c54
support nsTableOuterFrame incremental reflow
1998-10-09 19:59:45 +00:00
troy@netscape.com
effa132f8d
Removed GetContentIndex() from nsIFrame
1998-10-08 20:35:16 +00:00
buster@netscape.com
f30d1af844
all frames properly setting ascent and descent values for reflow
...
WIP incremental reflow in nsTableOuterFrame
1998-10-08 15:34:48 +00:00
troy@netscape.com
c850ca269e
Changed ReflowChild() to send the WillReflow() notification as well
1998-10-06 00:27:22 +00:00
troy@netscape.com
5c50ea58dd
Removed calls to MoveTo() BEFORE reflowing a frame. We used to do this
...
sequence: MoveTo(), Reflow(), SetRect(). Now that we have the WillReflow()/
DidReflow() code sandwhiches we no longer need to do the MoveTo()
1998-10-05 00:58:32 +00:00
buster@netscape.com
773e986f43
merge goof fixed, now works with new reflow API
1998-10-02 21:35:44 +00:00
buster@netscape.com
11cb76362f
minor interface cleanup
1998-10-02 20:36:35 +00:00