223 Commits

Author SHA1 Message Date
karnaze%netscape.com
0e237e981a support for backgrounds on table elements in both compatibility modes
git-svn-id: svn://10.0.0.236/trunk@34067 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:10:25 +00:00
kipp%netscape.com
de60169b67 Reworked frame factory methods; fixed bug 4519
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00
karnaze%netscape.com
871f0a7dd9 bug 3103 - resizing table based on height attribute now considers row spans of cells.
git-svn-id: svn://10.0.0.236/trunk@30149 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:15:56 +00:00
karnaze%netscape.com
375be2284d bug 5838 - right-to-left handling of col span at right edge
git-svn-id: svn://10.0.0.236/trunk@30058 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:31:07 +00:00
karnaze%netscape.com
4c449cb10f support for right-to-left direction
git-svn-id: svn://10.0.0.236/trunk@28645 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:51:58 +00:00
troy%netscape.com
b435e27ac9 Removed SetInitialChildList() and now we inherit the base class version
which does the same thing


git-svn-id: svn://10.0.0.236/trunk@27268 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:11:46 +00:00
troy%netscape.com
473511a1eb Removed some code from nsContainerFrame that is no longer needed now that'
we have nsFrameList


git-svn-id: svn://10.0.0.236/trunk@27238 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 23:46:02 +00:00
kipp%netscape.com
9e4c4cb1e3 Whacked paint methods to use new constants
git-svn-id: svn://10.0.0.236/trunk@25154 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:39:35 +00:00
karnaze%netscape.com
320437ece4 bug 2220; changed wording of some warnings.
git-svn-id: svn://10.0.0.236/trunk@24070 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 12:49:37 +00:00
kipp%netscape.com
b4d19704fd use new nsHTMLReflowState ctors
git-svn-id: svn://10.0.0.236/trunk@22833 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:19:09 +00:00
troy%netscape.com
b51e46e943 Removed nsIFrame::CreateContinuingFrame()
git-svn-id: svn://10.0.0.236/trunk@21866 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:31:15 +00:00
troy%netscape.com
f293c578fd Changed nsIFrame::Init() to take an additional parameter
git-svn-id: svn://10.0.0.236/trunk@21843 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:27:57 +00:00
troy%netscape.com
70b1ea8e3f Added frame type atoms for several table frame classes
git-svn-id: svn://10.0.0.236/trunk@21708 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 05:54:31 +00:00
troy%netscape.com
cc2323242f Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references


git-svn-id: svn://10.0.0.236/trunk@21702 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:48:08 +00:00
karnaze%netscape.com
6c5308ed49 added printf to flag when a table cell's max element size exceeds its desired size (for bug 3094)
git-svn-id: svn://10.0.0.236/trunk@21652 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 21:03:57 +00:00
troy%netscape.com
957c46c254 More work-in-progress for table pagination
git-svn-id: svn://10.0.0.236/trunk@21452 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 03:28:00 +00:00
troy%netscape.com
467691c69c Removed some XXX code that was temporary, but I forgot to delete
git-svn-id: svn://10.0.0.236/trunk@21254 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:05:00 +00:00
karnaze%netscape.com
6ccd350a1d collapsing rows, row groups, cols, col groups
git-svn-id: svn://10.0.0.236/trunk@20372 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:22:33 +00:00
buster%netscape.com
3dbeb7eb3f 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


git-svn-id: svn://10.0.0.236/trunk@20326 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:16:28 +00:00
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
339afcce8a Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +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
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
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
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
buster%netscape.com
82750b9744 fixed a bug in fixed layout initial reflow with spanning cells
git-svn-id: svn://10.0.0.236/trunk@17077 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 19:20:13 +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
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
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
troy%netscape.com
70e0a8cddb 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


git-svn-id: svn://10.0.0.236/trunk@16496 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:41:57 +00:00
troy%netscape.com
a8a9f7aeaa Changed SetRowIndex() to be inline and non-virtual
git-svn-id: svn://10.0.0.236/trunk@16494 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 04:31:38 +00:00
troy%netscape.com
45e2d974e8 Some improvements to the row splitting code
git-svn-id: svn://10.0.0.236/trunk@16490 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:46:03 +00:00
troy%netscape.com
e02d2dc1c0 Work-in-progress for splitting of table row frames
git-svn-id: svn://10.0.0.236/trunk@16442 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 16:39:09 +00:00
buster%netscape.com
be457e5620 fixed a minor bug in incremental reflow where the reflow state's "widthConstraint" wasn't getting set
git-svn-id: svn://10.0.0.236/trunk@16268 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:54:58 +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
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
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
37ca805909 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.


git-svn-id: svn://10.0.0.236/trunk@15257 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 19:41:33 +00:00
buster%netscape.com
3c5a5e590a changed the logic for reflowing cells whose height is changed due to a
height attribute.


git-svn-id: svn://10.0.0.236/trunk@15187 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:07:40 +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
joki%netscape.com
f1462f4d55 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)


git-svn-id: svn://10.0.0.236/trunk@14864 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:25:26 +00:00
buster%netscape.com
ed61619f6b fixed a tiny bug in handling unexpected frames in a row
git-svn-id: svn://10.0.0.236/trunk@14521 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:04:41 +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