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
buster%netscape.com
8d681c77b4
turned off noisy debug flag.
...
git-svn-id: svn://10.0.0.236/trunk@27851 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 17:31:39 +00:00
buster%netscape.com
27b7c319e0
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.
git-svn-id: svn://10.0.0.236/trunk@27576 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:28:11 +00:00
karnaze%netscape.com
31f57c1d11
bug 2643, zero width cells
...
git-svn-id: svn://10.0.0.236/trunk@26885 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 21:09:52 +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
0a1d6741dd
table cell uses its own border (instead of table's) when sizing its area frame
...
git-svn-id: svn://10.0.0.236/trunk@24114 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 17:36:10 +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
buster%netscape.com
1adc16e177
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
git-svn-id: svn://10.0.0.236/trunk@24054 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 04:38:02 +00:00
warren%netscape.com
140018846d
Fixed multiple mRefCnt problem.
...
git-svn-id: svn://10.0.0.236/trunk@23043 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 03:56:24 +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
scc%netscape.com
817f56596f
rename |IID()| --> |GetIID()|
...
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +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
kipp%netscape.com
9b917419dc
COMized nsIPresShell and nsIPresContext
...
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +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
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
harishd%netscape.com
bb9e8f162b
StyleContext passed onto PaintBorder()
...
git-svn-id: svn://10.0.0.236/trunk@18361 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:38:34 +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
8a00831853
Fix for bug #1998 . Now we render the background image over the padding area and not over the border area
...
git-svn-id: svn://10.0.0.236/trunk@17854 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 18:25:58 +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
f409ad31b4
preliminary work for cell inheritence of valign and halign attributes from col(group) and row(group)
...
according to css 2 spec
git-svn-id: svn://10.0.0.236/trunk@17078 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 19:22:40 +00:00
buster%netscape.com
6df6114357
collapsing border bug fixes
...
git-svn-id: svn://10.0.0.236/trunk@17017 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 23:23:45 +00:00
buster%netscape.com
026f6d379d
empty cells now are sized correctly.
...
git-svn-id: svn://10.0.0.236/trunk@17013 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 22:41:08 +00:00
buster%netscape.com
05fedad27b
collapsing border computation and conflict resolution
...
git-svn-id: svn://10.0.0.236/trunk@16989 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 06:48:15 +00:00
troy%netscape.com
1113a62e37
Removed debug output that was probably checked in by mistake
...
git-svn-id: svn://10.0.0.236/trunk@16930 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 05:37:11 +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
0b215739a8
WIP for collapsing borders
...
git-svn-id: svn://10.0.0.236/trunk@16846 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 15:47:43 +00:00
buster%netscape.com
9a780dd772
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.
git-svn-id: svn://10.0.0.236/trunk@16761 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 18:54:23 +00:00