buster%netscape.com
5d0af8abd5
more WIP, no new code operational
1998-12-17 07:56:24 +00:00
buster%netscape.com
07d2429c5c
WIP collapsing border implementation
...
added CompareBorderStyles, GetWidthForSide, ComputeCollapsedBorderSegment
we're now computing the left edge segments somewhat correctly.
1998-12-17 07:04:42 +00:00
buster%netscape.com
a7f7678ce9
WIP collapsing border work
1998-12-16 22:19:23 +00:00
buster%netscape.com
7f8a8688c4
WIP on collapsing borders
1998-12-16 17:05:14 +00:00
buster%netscape.com
d35a765d2c
clean up, removed some obsolete methods
1998-12-16 06:33:15 +00:00
troy%netscape.com
3c4ae70b04
Fixed a crash when display www.sjmercury.com paginated, because we thought
...
we could re-use our cached cell desired info and we couldn't because there
was a next-in-flow frame and so we needed to reflow the cell frame and pull-up
its next-in-flow child frames
1998-12-16 05:41:57 +00:00
troy%netscape.com
fabbe773c2
Changed SetRowIndex() to be inline and non-virtual
1998-12-16 04:31:38 +00:00
troy%netscape.com
6b60c930de
Removed InitRowData() member function which is now obsolete
1998-12-16 04:08:36 +00:00
troy%netscape.com
bd67066c8a
Some improvements to the row splitting code
1998-12-16 03:46:03 +00:00
troy%netscape.com
165f9e859f
Removed SetColIndex() which wasn't being used
1998-12-16 01:35:25 +00:00
troy%netscape.com
ca5d664aeb
Removed an assert that was being triggered in a caseI didn't expect
1998-12-15 21:26:05 +00:00
troy%netscape.com
89910f892e
Work-in-progress for splitting of table row frames
1998-12-15 16:39:09 +00:00
troy%netscape.com
09777c2885
Tables now clear the isTopOfPage when appropriate
1998-12-14 01:24:11 +00:00
buster%netscape.com
9bf25cc09e
fixed a minor bug in incremental reflow where the reflow state's "widthConstraint" wasn't getting set
1998-12-11 18:54:58 +00:00
buster%netscape.com
b7ab7be458
support for CSS2 style property "empty-cells"
1998-12-10 19:57:42 +00:00
buster%netscape.com
8031108e1b
tables can now have independent horizontal and vertical cell spacing
...
("cellspacing" HTML attribute == "border-spacing" CSS property, go figure...)
1998-12-09 06:37:18 +00:00
troy%netscape.com
7ec6a2c281
Added new atoms to nsLayoutAtoms for additional named frame child lists
1998-12-09 05:30:17 +00:00
troy%netscape.com
7afd123cd9
Fixed a crash when resizing the print preview window
1998-12-09 04:26:42 +00:00
buster%netscape.com
868ce29c21
fixed a minor glitch I introduced where nested tables cells were getting
...
robbed of a few pixels in width in some cases.
1998-12-08 19:18:33 +00:00
troy%netscape.com
399c1e7868
Initial table pagination support
1998-12-08 17:57:45 +00:00
buster%netscape.com
c85a6cdd73
fixed a bug in table-layout:fixed mode
...
fixed bug fixed a few small bugs
1998-12-08 01:00:14 +00:00
harishd%netscape.com
541bcbe5cd
changed the code that previously accessed mBorderStyle and mBordercolor
...
with new methods added in nsStyleSpacing
1998-12-07 19:07:45 +00:00
harishd%netscape.com
511b951294
Changed code that previously accessed mBorderStyle and mBorderColor with
...
new methods added in nsStyleSpacing
1998-12-07 19:06:55 +00:00
buster%netscape.com
4e927b37f3
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
820aec09ab
The second argument for GetStyleData needs to be 'const'.
1998-12-05 01:47:37 +00:00
troy%netscape.com
c2a37f36ad
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
199c24d49a
Changed table frame code to call DeleteFrameList() so that the col group
...
frames are deleted
1998-12-04 03:14:28 +00:00
troy%netscape.com
4a0f9cea8f
Moved logic that created a BODY frame that forms the cell's content from the
...
table frame code to the frame construction code
1998-12-04 02:08:51 +00:00
buster%netscape.com
23112ce100
minor optimizations and cleanup. removed constructors that did nothing.
1998-12-03 20:19:01 +00:00
buster%netscape.com
9c4e4e9e76
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
2a4b2c503f
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
wtc%netscape.com
59b32f50ef
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
09df53a05d
fixed a bug for tables with complicated colspans and fixed widths
1998-11-30 19:06:33 +00:00
buster%netscape.com
c44861d421
fixed some nested table layout problems
1998-11-30 15:10:20 +00:00
buster%netscape.com
3ddfe1c165
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
87d66cfc86
removed debug output
1998-11-24 20:40:43 +00:00
buster%netscape.com
9e645e1fc6
bug 1520 (www.mirabilis.com)
...
the problem was the way table layout apportioned height from a rowspanning cell.
Now, we do 2 things correctly:
1) we handle rows with rowspanning cells and no other cells.
2) we divide the height of a rowspanning cell proportionately to the rows spanned, where the proportion is defined by
the max height of a cell in that row that has no effective rowspan.
the partial fix for bug 1431 has to do with dividing width between percent-width and fixed-width columns in the same
table. You won't see any better layout for this page (ww.boston.com) as a result of the code I added. The rest of this
fix is a bit risky, so I'm waiting until after stability push.
1998-11-24 19:41:33 +00:00
buster%netscape.com
ff561429bf
changed the logic for reflowing cells whose height is changed due to a
...
height attribute.
1998-11-23 23:07:40 +00:00
buster%netscape.com
aab5ae636e
fixed the aweful nested table problems
1998-11-22 08:56:19 +00:00
buster%netscape.com
888de27782
removed a spurious GetContent that was the cause of a memory leak
1998-11-20 23:10:47 +00:00
alecf%netscape.com
9e8f173714
fix casting problems for gcc 2.7.2.3
1998-11-20 09:29:58 +00:00
buster%netscape.com
4c98e2689d
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
a6926809f0
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
joki%netscape.com
77fd9c2652
Reworking internal event code to use nsIFrame::GetFrameForPoint
...
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
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