343 Commits

Author SHA1 Message Date
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
troy%netscape.com
3513334988 Moved a bunch of stuff out to a nsIFrameDebug interface
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
troy%netscape.com
c96591767e b=6674, r=karnaze@netscape.com
Changed Paint() to set the clip rect only when the collapse offset isn't
(0, 0)


git-svn-id: svn://10.0.0.236/trunk@52016 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 23:01:21 +00:00
troy%netscape.com
bd46e7911f Changed SetView/GetView to take an additional argument which is the
pres context


git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
kipp%netscape.com
2ed3a3fc6a Removed some more warnings
git-svn-id: svn://10.0.0.236/trunk@51530 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 14:51:41 +00:00
troy%netscape.com
54572af2e6 r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.


git-svn-id: svn://10.0.0.236/trunk@51485 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 02:06:22 +00:00
karnaze%netscape.com
6418d90654 Remove caching cell spacing as margin on cells, reducing 16 bytes and avoiding potentially unique style contexts; simplified cell margin calculations; r=troy
git-svn-id: svn://10.0.0.236/trunk@51256 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 14:18:56 +00:00
karnaze%netscape.com
aef57f8136 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.
git-svn-id: svn://10.0.0.236/trunk@50981 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 13:45:41 +00:00
troy%netscape.com
c04a6a88dc 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


git-svn-id: svn://10.0.0.236/trunk@50941 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 03:30:11 +00:00
troy%netscape.com
3e862c4fc9 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


git-svn-id: svn://10.0.0.236/trunk@50923 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-16 16:17:07 +00:00
slamm%netscape.com
16bf5b4e43 Backout troy's last set of changes. Caused bug #15790, 'opening bookmarks window and expanding mail folders crashes'. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@50230 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 18:52:19 +00:00
troy%netscape.com
70a3da2b30 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)


git-svn-id: svn://10.0.0.236/trunk@50117 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:38:50 +00:00
karnaze%netscape.com
aa9be56cfa bug 14818 - made standard mode like NavQuirks when handling colspans exceeding the number of columns.
git-svn-id: svn://10.0.0.236/trunk@49801 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:21:00 +00:00
troy%netscape.com
4e1923d3ad Hooked up SizeOf() for cell map and table layout strategies. Also added in
some table frame data that was missed


git-svn-id: svn://10.0.0.236/trunk@49622 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 00:02:54 +00:00
karnaze%netscape.com
7864064ca4 bug 12910 - SetPass1MaxElementSize considers nowrap on cell
git-svn-id: svn://10.0.0.236/trunk@49439 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 14:11:16 +00:00
mjudge%netscape.com
124711cde1 changes to selection code to stop a never ending loop
git-svn-id: svn://10.0.0.236/trunk@48665 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 22:58:14 +00:00
mjudge%netscape.com
cbf04231bb adding change for selection. modifing inside out behavior for table selection. drawing tables being seleted different.
git-svn-id: svn://10.0.0.236/trunk@48081 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:33:39 +00:00
kipp%netscape.com
8ebf1dd75a Squish a warning or two
git-svn-id: svn://10.0.0.236/trunk@48002 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:16:37 +00:00
karnaze%netscape.com
43e1a5bbdb bug 11776, stopped doing arithmetic on unconstrained sizes
git-svn-id: svn://10.0.0.236/trunk@47128 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 14:35:00 +00:00
karnaze%netscape.com
02897765fb better handling of empty cell widths, especially involving colspans. support for bug 7121.
git-svn-id: svn://10.0.0.236/trunk@46806 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 18:55:46 +00:00
karnaze%netscape.com
0cba8f36fe bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption.
git-svn-id: svn://10.0.0.236/trunk@45580 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:07:14 +00:00
kipp%netscape.com
eea3ab916a Updated SizeOf methods to not waste space when doing a non-debug build
git-svn-id: svn://10.0.0.236/trunk@45397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:02:16 +00:00
kipp%netscape.com
c9002f20df Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
karnaze%netscape.com
1e142fcc65 backed out fix for bug 6674 because it broke resizing collapsing rows
git-svn-id: svn://10.0.0.236/trunk@45169 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:00:12 +00:00
troy%netscape.com
2536a64e5f Fix for bug #12592. Optimized style change reflow commands targeted at
a cell frame


git-svn-id: svn://10.0.0.236/trunk@45028 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 04:18:00 +00:00
kipp%netscape.com
cb1ea8a006 Fixed bug #6674 by honoring the css overflow property and only setting the clip rect when overflow is 'hidden'
git-svn-id: svn://10.0.0.236/trunk@44932 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:53:04 +00:00
karnaze%netscape.com
7cecd8f2db bug 12590 - vertical-align:middle working on cell
git-svn-id: svn://10.0.0.236/trunk@44748 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 04:29:05 +00:00
karnaze%netscape.com
112f671dfe replaced debug flags with class. removed compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@44283 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 12:01:31 +00:00
troy%netscape.com
c20a3fb657 Removed some code that was accidentally added back in the previous revisions
git-svn-id: svn://10.0.0.236/trunk@44025 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 21:17:23 +00:00
karnaze%netscape.com
1ae768f9a1 bug 11944 - correct placement of row group using table border/padding. bug 625 - reinitialized col sizes before 2nd pass 1 reflow.
git-svn-id: svn://10.0.0.236/trunk@43971 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 06:38:07 +00:00
brade%netscape.com
14f64deece remove mac compiler warning
git-svn-id: svn://10.0.0.236/trunk@43817 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 13:32:23 +00:00
karnaze%netscape.com
5e4439a661 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


git-svn-id: svn://10.0.0.236/trunk@43641 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 19:52:37 +00:00
troy%netscape.com
8a85938908 Changed to table incremental reflow
git-svn-id: svn://10.0.0.236/trunk@43548 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 03:51:25 +00:00
karnaze%netscape.com
3a80c327b2 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.


git-svn-id: svn://10.0.0.236/trunk@42979 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 18:15:46 +00:00
karnaze%netscape.com
35434b326b 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.


git-svn-id: svn://10.0.0.236/trunk@42871 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 00:49:10 +00:00
cmanske%netscape.com
c43ee147be Added method to nsITableCellLayout. Fixed QI bug
git-svn-id: svn://10.0.0.236/trunk@42080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 02:04:45 +00:00
troy%netscape.com
b015e5f569 Reflow command cleanup
git-svn-id: svn://10.0.0.236/trunk@41774 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 22:21:03 +00:00
cmanske%netscape.com
f92bc8ef26 Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted.
git-svn-id: svn://10.0.0.236/trunk@41766 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 18:26:45 +00:00
cmanske%netscape.com
6ea23b2d7b Adding interface for editor access to table layout data
git-svn-id: svn://10.0.0.236/trunk@41743 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 22:11:50 +00:00
karnaze%netscape.com
382b9863de new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy


git-svn-id: svn://10.0.0.236/trunk@41454 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:09:02 +00:00
putterman%netscape.com
e8d74dc3ce Commented out warning.
git-svn-id: svn://10.0.0.236/trunk@40157 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 21:37:04 +00:00
buster%netscape.com
d94e56698f fixed warnings
git-svn-id: svn://10.0.0.236/trunk@37179 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 13:44:40 +00:00
karnaze%netscape.com
ad3ad85b2c empty table cells ignore their background
git-svn-id: svn://10.0.0.236/trunk@34173 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:04:22 +00:00
mjudge%netscape.com
45583c2b3d 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.
git-svn-id: svn://10.0.0.236/trunk@33352 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:04:13 +00:00
peterl%netscape.com
d3c3b79635 removed extra call to did set style context
git-svn-id: svn://10.0.0.236/trunk@32155 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:15:51 +00:00
karnaze%netscape.com
d6b03337dc support for css padding in table cells
git-svn-id: svn://10.0.0.236/trunk@32042 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 05:18:16 +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
573cea30a7 incremental reflow correctly targets cell's area frame - bugs 4577, 5126, 5759
git-svn-id: svn://10.0.0.236/trunk@30590 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 22:29:28 +00:00
karnaze%netscape.com
276723fe55 only print warnings on large cell width/height during pass 2 reflow
git-svn-id: svn://10.0.0.236/trunk@29791 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 17:43:41 +00:00
mscott%netscape.com
83d0b5bec4 Add gsdebug boolean check before printing out IR target information. a=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@27957 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 00:11:53 +00:00