Commit Graph

218 Commits

Author SHA1 Message Date
kipp@netscape.com
86bc4da7e2 Fixed bug #6674 by honoring the css overflow property and only setting the clip rect when overflow is 'hidden' 1999-08-27 21:53:04 +00:00
karnaze@netscape.com
00f459927b bug 12590 - vertical-align:middle working on cell 1999-08-27 04:29:05 +00:00
karnaze@netscape.com
9f37cd96e7 replaced debug flags with class. removed compiler warnings. 1999-08-24 12:01:31 +00:00
troy@netscape.com
4a6cb485e3 Removed some code that was accidentally added back in the previous revisions 1999-08-21 21:17:23 +00:00
karnaze@netscape.com
7c6d931994 bug 11944 - correct placement of row group using table border/padding. bug 625 - reinitialized col sizes before 2nd pass 1 reflow. 1999-08-21 06:38:07 +00:00
brade@netscape.com
6d1f64c59c remove mac compiler warning 1999-08-20 13:32:23 +00:00
karnaze@netscape.com
1be27de6a7 Added new incremental reflow methods.
CellData keeps track of row versus col spans.
nsColFrame keeps track of what cell contributed to constrained width.
nsCellMap::GetCellFrameAt replace with GetCellInfoAt
simplified nsTableCellFrame::RecalcLayoutData and removed FindLargestMargin, CalculateMargins, CalculateMargins
simplified nsTableFrame::RecalcLayoutData and removed AppendLayoutData
Added gsDebugReflow capability, remove all existing debug printf
1999-08-19 19:52:37 +00:00
troy@netscape.com
454b06e71e Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
karnaze@netscape.com
2a568f7e2e For crash in bug 10296 - Removed assertion that nsTableFrame::GetColumnFrame must find a non null frame.
Added check for null when calling it in a situation where it can return null.
1999-08-10 18:15:46 +00:00
karnaze@netscape.com
49cb2c022f bug 3517.
Always get border-collapse from nsTableFrame::GetBorderCollapseStyle.
Added several null checks for border edges.
Added check in nsTableFrame::DidComputeHorizontal to replace null edges with trival ones.
1999-08-10 00:49:10 +00:00
cmanske@netscape.com
d2e54fe537 Added method to nsITableCellLayout. Fixed QI bug 1999-08-04 02:04:45 +00:00
troy@netscape.com
bc20c459b0 Reflow command cleanup 1999-08-01 22:21:03 +00:00
cmanske@netscape.com
48918de0e5 Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted. 1999-08-01 18:26:45 +00:00
cmanske@netscape.com
b44bfb4768 Adding interface for editor access to table layout data 1999-07-31 22:11:50 +00:00
karnaze@netscape.com
0f38815cdf new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy
1999-07-28 08:09:02 +00:00
putterman@netscape.com
38179bdb96 Commented out warning. 1999-07-19 21:37:04 +00:00
buster@netscape.com
84b5f256c8 fixed warnings 1999-06-28 13:44:40 +00:00
karnaze@netscape.com
1bab559952 empty table cells ignore their background 1999-06-08 05:04:22 +00:00
mjudge@netscape.com
255745201b new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers. 1999-06-01 23:04:13 +00:00
peterl@netscape.com
d516777fae removed extra call to did set style context 1999-05-18 23:15:51 +00:00
karnaze@netscape.com
5848571fa7 support for css padding in table cells 1999-05-18 05:18:16 +00:00
kipp@netscape.com
68aa9f7c60 Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
karnaze@netscape.com
e77d688bd6 incremental reflow correctly targets cell's area frame - bugs 4577, 5126, 5759 1999-05-06 22:29:28 +00:00
karnaze@netscape.com
cb2936bb58 only print warnings on large cell width/height during pass 2 reflow 1999-04-29 17:43:41 +00:00
mscott@netscape.com
14cfaa07a1 Add gsdebug boolean check before printing out IR target information. a=buster@netscape.com 1999-04-17 00:11:53 +00:00
buster@netscape.com
18097c6254 turned off noisy debug flag. 1999-04-16 17:31:39 +00:00
buster@netscape.com
a819013c5a workaround for bug 4577
incremental reflows targeted at the cell frame that are not style changes
must really belong to the area frame inside the cell.  So they are now retargeted.
1999-04-15 19:28:11 +00:00
karnaze@netscape.com
1bb547ae68 bug 2643, zero width cells 1999-04-09 21:09:52 +00:00
kipp@netscape.com
74c9fdfeaf Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
karnaze@netscape.com
61169ff888 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
a4fc5af33c bug 2220; changed wording of some warnings. 1999-03-13 12:49:37 +00:00
buster@netscape.com
fd8e0b09ba 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
warren@netscape.com
6e6f52cc95 Fixed multiple mRefCnt problem. 1999-03-06 03:56:24 +00:00
kipp@netscape.com
4b0544c35e use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
scc@netscape.com
6bb3406b4d rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
troy@netscape.com
ca28eafb7d Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy@netscape.com
7f63268a34 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy@netscape.com
5a1fc226a0 Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
kipp@netscape.com
74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
karnaze@netscape.com
7e546edce3 collapsing rows, row groups, cols, col groups 1999-02-11 06:22:33 +00:00
buster@netscape.com
5e4ec66b0e 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
b4f8c0fbbe Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
harishd@netscape.com
cb51ba1c2a StyleContext passed onto PaintBorder() 1999-01-22 22:38:34 +00:00
kipp@netscape.com
b1fe154193 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
kipp@netscape.com
e1ed25a763 Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame* 1999-01-15 22:52:05 +00:00
troy@netscape.com
217ab2bc29 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
62b64b2067 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy@netscape.com
80de7a2d9f Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
buster@netscape.com
89b7e2a34a 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
c1abba5a19 collapsing border bug fixes 1998-12-30 23:23:45 +00:00