Commit Graph

481 Commits

Author SHA1 Message Date
peterl%netscape.com
b0a00db1a0 sync to style context api change
stubs for transparent border color support
1999-03-28 04:32:39 +00:00
kipp%netscape.com
60f52440cb Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
karnaze%netscape.com
252c4d8e70 bug 1725 1999-03-16 23:42:38 +00:00
karnaze%netscape.com
90a129b50f table cell uses its own border (instead of table's) when sizing its area frame 1999-03-14 17:36:10 +00:00
karnaze%netscape.com
191784a336 bug 2220; changed wording of some warnings. 1999-03-13 12:49:37 +00:00
buster%netscape.com
3b6ec81caa Table cells need to call DidSetStyleContext whenever their style changes, or
whenever the table's style changes.
This is a partial fix for bug 3513
1999-03-13 04:38:02 +00:00
troy%netscape.com
57c81e5514 Better handles the case where the first row is complete when splitting
the row group
1999-03-09 15:35:43 +00:00
troy%netscape.com
0cbeed3e6c Changed it so we get the computed width from the first-in-flow 1999-03-09 15:35:08 +00:00
troy%netscape.com
9106c62e3e Overflow code and pushing code now take header/footer frames into
account
1999-03-09 05:29:37 +00:00
troy%netscape.com
a6b02e236c Better handling of NS_FRAME_NOT_COMPLETE for incremental reflow 1999-03-09 05:28:44 +00:00
ramiro%netscape.com
ce86e7b16e Latest AIX fixes. (waqar@netscape.com).
When doing the multiple inheritance thing, explicitly give the publicness
for each superclass.
1999-03-08 15:13:54 +00:00
troy%netscape.com
95847d3245 Changed ComputeDesiredWidth() to get the table layout strategy from the
first-in-flow. This fixes a crash in paginated mode
1999-03-06 17:01:15 +00:00
troy%netscape.com
5cfdeeea7c Added some XXX comments 1999-03-06 05:03:09 +00:00
warren%netscape.com
a60a14636f Fixed multiple mRefCnt problem. 1999-03-06 03:56:24 +00:00
troy%netscape.com
7b9dd5e03b Table header/footer are repeated when splitting tables 1999-03-05 06:00:40 +00:00
kipp%netscape.com
9ddafbd9f8 use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
troy%netscape.com
13d84ddc5c Work-in-progress for table pagination 1999-03-03 16:33:57 +00:00
buster%netscape.com
e03330c847 fixed IsNested to account for outer table frame
removed obsolete debug code
1999-03-01 06:40:24 +00:00
troy%netscape.com
3bdf672129 Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy%netscape.com
47cbdb1e9d Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
troy%netscape.com
03c5c1f520 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
troy%netscape.com
da0991df28 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
karnaze%netscape.com
a623691a08 added printf to flag when a table cell's max element size exceeds its desired size (for bug 3094) 1999-02-23 21:03:57 +00:00
warren%netscape.com
9e9215c7f5 Added check for null border. 1999-02-23 09:01:21 +00:00
warren%netscape.com
01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
troy%netscape.com
68894039d4 More work-in-progress for table pagination 1999-02-22 03:28:00 +00:00
troy%netscape.com
2f913ac8b5 Changed GetRowIndex() so that for continued cell frames the row index is
that of the cell's first-in-flow
1999-02-21 19:55:22 +00:00
troy%netscape.com
c449a6a178 Changed GetEffectiveRowSpan() 1999-02-21 18:38:41 +00:00
troy%netscape.com
0bdf65216d Pagination work-in-progress 1999-02-20 03:15:03 +00:00
troy%netscape.com
e7f6d9eb81 Removed some old code 1999-02-19 05:10:59 +00:00
troy%netscape.com
ddd4da9f70 Removed some XXX code that was temporary, but I forgot to delete 1999-02-19 02:05:00 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com
902190112d API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
karnaze%netscape.com
a43b2445da collapsing rows, row groups, cols, col groups 1999-02-11 06:22:33 +00:00
buster%netscape.com
178ad83c45 changed getters to be XP_COM-like, with out-params instead of return values.
this is so these getters can be bound to an XPCOM interface, nsITableCellLayout
1999-02-11 01:16:28 +00:00
troy%netscape.com
034aa56b83 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy%netscape.com
9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com
2ac7b86865 Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
troy%netscape.com
c85f9efd2a Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com
b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
buster%netscape.com
3c4c3f919f initial checkin of public table layout interfaces 1999-02-10 00:38:01 +00:00
kipp%netscape.com
2a44cdd816 Renamed RemoveFrame to RemoveAFrame to reduce compiler warnings 1999-02-04 16:27:18 +00:00
karnaze%netscape.com
81d2fdf2cb work in progress for table visibility=collapse 1999-02-03 23:54:32 +00:00
hyatt%netscape.com
47907234fe Made the table member variables protected so that the tree widget can
access them.
1999-02-03 22:35:03 +00:00
karnaze%netscape.com
6256ccca5b Made table frame construction flexible enough to allow arbitrary content to be mapped
to arbitrary table related display types.
1999-01-30 15:52:19 +00:00
buster%netscape.com
3f9d48c279 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
1999-01-29 18:49:32 +00:00
buster%netscape.com
e7df15b90b 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...
1999-01-27 19:29:24 +00:00
harishd%netscape.com
eb58eec877 StyleContext passed onto PaintBorder() 1999-01-22 22:38:34 +00:00
buster%netscape.com
fc8952dd64 fixed bug 2516. The InitChildList code needed to check display types before
assigning the mCaptionFrame member variable.
1999-01-20 07:27:06 +00:00
buster%netscape.com
45846b7bca workaround for bug 2476: check for null child list before calling nsFrameList::AppendFrames 1999-01-18 23:54:23 +00:00
karnaze%netscape.com
7b139f6c8e scrollable row groups 1999-01-17 23:35:56 +00:00
kipp%netscape.com
7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
kipp%netscape.com
065905fa0b Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame* 1999-01-15 22:52:05 +00:00
buster%netscape.com
952eb9a53e comments and removal of dead code 1999-01-15 19:55:19 +00:00
troy%netscape.com
6d63084a70 Fix for bug #1998. Now we render the background image over the padding area and not over the border area 1999-01-15 18:25:58 +00:00
troy%netscape.com
036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
buster%netscape.com
ef57c474ae just documentation 1999-01-07 02:16:10 +00:00
troy%netscape.com
4b3e1eebad Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
troy%netscape.com
850f9b5598 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)
1999-01-05 00:41:40 +00:00
buster%netscape.com
1b814a3efe preliminary work for cell inheritence of valign and halign attributes from col(group) and row(group)
according to css 2 spec
1999-01-03 19:22:40 +00:00
buster%netscape.com
5c8da0287c fixed a bug in fixed layout initial reflow with spanning cells 1999-01-03 19:20:13 +00:00
buster%netscape.com
0664302426 collapsing border bug fixes 1998-12-30 23:23:45 +00:00
buster%netscape.com
46621cf846 empty cells now are sized correctly. 1998-12-30 22:41:08 +00:00
buster%netscape.com
0609bf2754 collapsing borders with odd width have correct width now 1998-12-30 22:40:36 +00:00
troy%netscape.com
4591f9d2ad Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
buster%netscape.com
714c427896 collapsing border computation and conflict resolution 1998-12-30 06:48:15 +00:00
troy%netscape.com
eb99e22e68 Removed debug output that was probably checked in by mistake 1998-12-29 05:37:11 +00:00
troy%netscape.com
7b5cc03059 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
buster%netscape.com
d87ab21022 WIP for collapsing borders 1998-12-23 15:47:43 +00:00
buster%netscape.com
735e53976a WIP for collapsing borders. 1998-12-21 19:20:37 +00:00
buster%netscape.com
914c880651 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.
1998-12-21 18:54:23 +00:00
buster%netscape.com
d1779f0342 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.
1998-12-21 06:38:18 +00:00
peterl%netscape.com
887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
kipp%netscape.com
c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
buster%netscape.com
b64da7e7fd WIP on border collapsing 1998-12-17 22:59:40 +00:00
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