buster%netscape.com
6df6114357
collapsing border bug fixes
...
git-svn-id: svn://10.0.0.236/trunk@17017 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 23:23:45 +00:00
buster%netscape.com
9864b12d26
collapsing borders with odd width have correct width now
...
git-svn-id: svn://10.0.0.236/trunk@17012 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 22:40:36 +00:00
troy%netscape.com
c22f41cbf9
Changed width/height constraints in nsHTMLReflowState struct
...
git-svn-id: svn://10.0.0.236/trunk@16998 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 17:50:00 +00:00
buster%netscape.com
05fedad27b
collapsing border computation and conflict resolution
...
git-svn-id: svn://10.0.0.236/trunk@16989 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 06:48:15 +00:00
troy%netscape.com
9a7f94d20b
Moved logic that deals with moving absolutely positioned frames out of the
...
flow to the frame construction code
git-svn-id: svn://10.0.0.236/trunk@16924 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 03:38:16 +00:00
buster%netscape.com
0b215739a8
WIP for collapsing borders
...
git-svn-id: svn://10.0.0.236/trunk@16846 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 15:47:43 +00:00
buster%netscape.com
324a98029b
WIP for collapsing borders.
...
git-svn-id: svn://10.0.0.236/trunk@16763 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 19:20:37 +00:00
buster%netscape.com
9a780dd772
collapsing borders now do rounding of odd-thickness borders correctly
...
at the pixel level. The odd pixel is always given to the right and bottom
cell borders whenever possible, and to the top and left table border otherwise.
git-svn-id: svn://10.0.0.236/trunk@16761 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 18:54:23 +00:00
buster%netscape.com
f0d639e1bc
beginnings of collapsing borders now implemented. Doesn't work for spanning cells yet,
...
and doesn't measure borders where the width changes along a shared edge yet.
git-svn-id: svn://10.0.0.236/trunk@16742 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 06:38:18 +00:00
kipp%netscape.com
eaee82d4b3
Revised frame Paint API
...
git-svn-id: svn://10.0.0.236/trunk@16666 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 15:54:23 +00:00
buster%netscape.com
bb9c01d77b
WIP on border collapsing
...
git-svn-id: svn://10.0.0.236/trunk@16619 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:59:40 +00:00
buster%netscape.com
7dbb291b72
more WIP, no new code operational
...
git-svn-id: svn://10.0.0.236/trunk@16564 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 07:56:24 +00:00
buster%netscape.com
acd2f83b0d
WIP collapsing border implementation
...
added CompareBorderStyles, GetWidthForSide, ComputeCollapsedBorderSegment
we're now computing the left edge segments somewhat correctly.
git-svn-id: svn://10.0.0.236/trunk@16562 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 07:04:42 +00:00
buster%netscape.com
81b46aab62
WIP collapsing border work
...
git-svn-id: svn://10.0.0.236/trunk@16536 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 22:19:23 +00:00
buster%netscape.com
7e9d6c54cd
WIP on collapsing borders
...
git-svn-id: svn://10.0.0.236/trunk@16519 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 17:05:14 +00:00
troy%netscape.com
0e65aac3d0
Tables now clear the isTopOfPage when appropriate
...
git-svn-id: svn://10.0.0.236/trunk@16343 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 01:24:11 +00:00
buster%netscape.com
415d59aa67
tables can now have independent horizontal and vertical cell spacing
...
("cellspacing" HTML attribute == "border-spacing" CSS property, go figure...)
git-svn-id: svn://10.0.0.236/trunk@16037 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:37:18 +00:00
troy%netscape.com
0a0b7ae6b0
Added new atoms to nsLayoutAtoms for additional named frame child lists
...
git-svn-id: svn://10.0.0.236/trunk@16032 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:30:17 +00:00
troy%netscape.com
f40c33432f
Initial table pagination support
...
git-svn-id: svn://10.0.0.236/trunk@15974 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 17:57:45 +00:00
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