buster%netscape.com
119726a491
fixed a bug in table-layout:fixed mode
...
fixed bug fixed a few small bugs
git-svn-id: svn://10.0.0.236/trunk@15946 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 01:00:14 +00:00
harishd%netscape.com
bf95de173e
changed the code that previously accessed mBorderStyle and mBordercolor
...
with new methods added in nsStyleSpacing
git-svn-id: svn://10.0.0.236/trunk@15930 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:07:45 +00:00
buster%netscape.com
9b1c517bdf
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
git-svn-id: svn://10.0.0.236/trunk@15824 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 05:27:21 +00:00
wtc%netscape.com
58ce42d7a1
The second argument for GetStyleData needs to be 'const'.
...
git-svn-id: svn://10.0.0.236/trunk@15820 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 01:47:37 +00:00
troy%netscape.com
1595471494
Added NS_RELEASE of col frame pseudo element style context. This fixes a memory leak
...
git-svn-id: svn://10.0.0.236/trunk@15758 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:39:05 +00:00
troy%netscape.com
016e99912d
Changed table frame code to call DeleteFrameList() so that the col group
...
frames are deleted
git-svn-id: svn://10.0.0.236/trunk@15757 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:14:28 +00:00
buster%netscape.com
104395fa1f
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.
git-svn-id: svn://10.0.0.236/trunk@15704 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 18:01:35 +00:00
troy%netscape.com
01f27b2a31
Added Init() member function to nsIFrame
...
git-svn-id: svn://10.0.0.236/trunk@15682 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:31:43 +00:00
wtc%netscape.com
d45ab8ecf7
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.
git-svn-id: svn://10.0.0.236/trunk@15625 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:45:20 +00:00
buster%netscape.com
826b9af0fe
fixed some nested table layout problems
...
git-svn-id: svn://10.0.0.236/trunk@15463 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 15:10:20 +00:00
buster%netscape.com
79920f1ff6
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.
git-svn-id: svn://10.0.0.236/trunk@15309 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 18:43:56 +00:00
buster%netscape.com
6f5b201dbe
implemented table height algorithms. also made a slight modification to
...
the way a table finds its container's width.
git-svn-id: svn://10.0.0.236/trunk@14973 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 01:01:25 +00:00
kipp%netscape.com
b527c7f026
Added DumpRegressionData; revised ListTag; added GetFrameName
...
git-svn-id: svn://10.0.0.236/trunk@14946 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:22:29 +00:00
buster%netscape.com
aeee0e2b41
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.
git-svn-id: svn://10.0.0.236/trunk@14732 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 06:46:00 +00:00
michaelp%netscape.com
25149e78ea
changes for pixel scaling/printing.
...
git-svn-id: svn://10.0.0.236/trunk@14647 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:52:27 +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
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
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
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
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
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
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
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
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
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
troy%netscape.com
f910aa1e8b
Changed ReflowChild() to send the WillReflow() notification as well
...
git-svn-id: svn://10.0.0.236/trunk@11982 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:27:22 +00:00
troy%netscape.com
31a923050a
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()
git-svn-id: svn://10.0.0.236/trunk@11891 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 00:58:32 +00:00