troy%netscape.com
bd78450e96
Changed GetNextSibling() to use a pointer argument instead of a reference
...
git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:13:38 +00:00
troy%netscape.com
3635a7c72c
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00
troy%netscape.com
2af2ec249b
Changed GetParent() to use ** instead of *&
...
git-svn-id: svn://10.0.0.236/trunk@20205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:36:30 +00:00
troy%netscape.com
8934624982
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
kipp%netscape.com
5bebf0d77c
Renamed RemoveFrame to RemoveAFrame to reduce compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@19695 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:27:18 +00:00
karnaze%netscape.com
f728c86270
work in progress for table visibility=collapse
...
git-svn-id: svn://10.0.0.236/trunk@19604 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:54:32 +00:00
karnaze%netscape.com
6ff27d1704
Made table frame construction flexible enough to allow arbitrary content to be mapped
...
to arbitrary table related display types.
git-svn-id: svn://10.0.0.236/trunk@19080 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 15:52:19 +00:00
buster%netscape.com
d954257870
fixed a nasty bug where some incremental reflow cases of a table with collapsing borders would crash.
...
One example of the crash is changing the style of a cell via DOM.
Also fixed an error in the API of nsTableColFrame
git-svn-id: svn://10.0.0.236/trunk@19028 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:49:32 +00:00
buster%netscape.com
4e86fbc278
primarily comments and documentation
...
also removed nsTableFrame::QueryInterface() because it was just extraneous, and it made
an assumption about what class nsTableFrame derives from. Let the vtable do its work...
git-svn-id: svn://10.0.0.236/trunk@18806 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:29:24 +00:00
harishd%netscape.com
bb9e8f162b
StyleContext passed onto PaintBorder()
...
git-svn-id: svn://10.0.0.236/trunk@18361 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:38:34 +00:00
karnaze%netscape.com
46dc14a9bb
scrollable row groups
...
git-svn-id: svn://10.0.0.236/trunk@17941 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 23:35:56 +00:00
kipp%netscape.com
4e355995e6
Spanked away SizeOf methods and nsIListFilter
...
git-svn-id: svn://10.0.0.236/trunk@17895 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:00:50 +00:00
kipp%netscape.com
c3040176bf
Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame*
...
git-svn-id: svn://10.0.0.236/trunk@17883 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:52:05 +00:00
troy%netscape.com
8a00831853
Fix for bug #1998 . Now we render the background image over the padding area and not over the border area
...
git-svn-id: svn://10.0.0.236/trunk@17854 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 18:25:58 +00:00
troy%netscape.com
ecc9f6f19d
Removed the content-parent frame pointer. Now we just have the one geometric
...
parent
git-svn-id: svn://10.0.0.236/trunk@17702 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:16:23 +00:00
troy%netscape.com
641be3028f
Replaced "maxSize" member if nsReflowState with "availableWidth" and
...
"availableHeight"
git-svn-id: svn://10.0.0.236/trunk@17201 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:31:18 +00:00
troy%netscape.com
4e4c0aad37
Cleaned up some old references to margins which aren't applicable to row group
...
frames and row frames (because internal table elements don't have margins)
git-svn-id: svn://10.0.0.236/trunk@17126 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 00:41:40 +00:00
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