Commit Graph

191 Commits

Author SHA1 Message Date
troy@netscape.com
c4938a2b05 b=6674, r=karnaze@netscape.com
Changed Paint() to set the clip rect only when the collapse offset isn't
(0, 0)
1999-10-27 23:01:21 +00:00
troy@netscape.com
b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kipp@netscape.com
e01a845da1 Removed some more warnings 1999-10-22 14:51:41 +00:00
troy@netscape.com
0260c6d97e r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
karnaze@netscape.com
ff974f4fc1 Remove caching cell spacing as margin on cells, reducing 16 bytes and avoiding potentially unique style contexts; simplified cell margin calculations; r=troy 1999-10-20 14:18:56 +00:00
karnaze@netscape.com
5950533219 bug 15993 - in quirks mode allocates space for a 1 pixel border if the content is empty and the table has a border. It was incorrectly, doing this even if the content was not empty. r=buster; asked permission from hook and got no response. 1999-10-18 13:45:41 +00:00
troy@netscape.com
d2b13e844f r=karnaze@netscape.com Cc'd hyatt@netscape.com
Space optimization. mBorderEdges is no longer an embedded object. Now it's
allocated when needed (for collapsing border model tables only). This saves
80 bytes per table cell frame for the normal HTML case of adjacent border
model
1999-10-17 03:30:11 +00:00
troy@netscape.com
adadef5a7f Space optimization, r=karnaze@netscape.com Cc'd hyatt@netscape.com
Save 4 bytes by eliminating the mCalculated data member which wasn't being used
1999-10-16 16:17:07 +00:00
slamm@netscape.com
b6bb2da28a Backout troy's last set of changes. Caused bug #15790, 'opening bookmarks window and expanding mail folders crashes'. r=waterson. 1999-10-08 18:52:19 +00:00
troy@netscape.com
9d30790ef7 Space reductions, r=karnaze@netscape.com
Eliminated one data member, moved one to flag frame state, and changed mBorderEdges
to be heap allocated (only for collapsing border model)
1999-10-07 20:38:50 +00:00
karnaze@netscape.com
21462a686b bug 14818 - made standard mode like NavQuirks when handling colspans exceeding the number of columns. 1999-10-05 04:21:00 +00:00
troy@netscape.com
b189b723af Hooked up SizeOf() for cell map and table layout strategies. Also added in
some table frame data that was missed
1999-10-02 00:02:54 +00:00
karnaze@netscape.com
c6d3d55f05 bug 12910 - SetPass1MaxElementSize considers nowrap on cell 1999-09-30 14:11:16 +00:00
mjudge@netscape.com
95d94af406 changes to selection code to stop a never ending loop 1999-09-21 22:58:14 +00:00
mjudge@netscape.com
3e6ec6cee6 adding change for selection. modifing inside out behavior for table selection. drawing tables being seleted different. 1999-09-17 23:33:39 +00:00
kipp@netscape.com
e9732b7feb Squish a warning or two 1999-09-17 20:16:37 +00:00
karnaze@netscape.com
0ffd2b8631 bug 11776, stopped doing arithmetic on unconstrained sizes 1999-09-13 14:35:00 +00:00
karnaze@netscape.com
edbbb7d429 better handling of empty cell widths, especially involving colspans. support for bug 7121. 1999-09-10 18:55:46 +00:00
karnaze@netscape.com
f8e91b1d3e bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption. 1999-09-02 00:07:14 +00:00
kipp@netscape.com
0d0c583aac Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp@netscape.com
3dbd670c62 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
karnaze@netscape.com
573de9de7f backed out fix for bug 6674 because it broke resizing collapsing rows 1999-08-30 22:00:12 +00:00
troy@netscape.com
3e3fb7845d Fix for bug #12592. Optimized style change reflow commands targeted at
a cell frame
1999-08-29 04:18:00 +00:00
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