[email protected]
f81d194173
bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property.
2000-01-02 22:55:48 +00:00
[email protected]
d400779f00
Reduced size of table cell member data by 4 bytes by only storing the
...
maximum width and not both the width and height. The height was never used
so this wans't an issue
1999-12-24 03:46:21 +00:00
[email protected]
f52136224a
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
1999-12-13 22:56:31 +00:00
[email protected]
50899265d5
removed allocation warning messages
1999-11-15 15:42:20 +00:00
[email protected]
796280940b
updated license boilerplate to xPL 1.1, [email protected] ,[email protected]
1999-11-06 03:40:37 +00:00
[email protected]
c51946a5b2
bugs 17138, 17168 and others - col allocation involving colspans honors constraints; pct colspans were allocating incorrectly if pct cols existed.
1999-11-05 22:36:59 +00:00
[email protected]
94204a146c
Changed NS_ASSERTION to NS_WARN_IF_FALSE to avoid crashing people when condition is met. r=hyatt.
1999-11-02 05:14:27 +00:00
[email protected]
55477ea869
bug 16284, 14159 nested auto table with percent cells was not growing auto table. nested coord or percent table was only getting min size.
1999-10-25 22:49:51 +00:00
[email protected]
44703bb7b5
bug 5799 - considers percentage width of multiple cells when figuring width of auto table.
1999-10-25 04:34:28 +00:00
[email protected]
e01a845da1
Removed some more warnings
1999-10-22 14:51:41 +00:00
[email protected]
bb54f83c90
bug 5799 - width of auto width table considers percentage cells when they are small relative to the rest of the table. r=dcone
1999-10-21 22:36:21 +00:00
[email protected]
8492111d5b
added #ifdef for debug printing.
1999-10-18 13:48:19 +00:00
[email protected]
dfc235ed69
Nuke some more warnings
1999-10-15 21:18:32 +00:00
[email protected]
f7ba5b5188
bug 11026 - AllocateUnconstrained was off by 1 twip in some cases. bug 14159 - cell is not fixed width if an auto cell in the same col has a larger desired size for backward compatibilty.
1999-10-13 14:44:22 +00:00
[email protected]
ea36a75c90
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
[email protected]
f7ff6a02eb
column allocation does fixed and adjusted fixed (colspans) in separate steps. Simplified AllocateConstrained. Fixed bug 14332.
1999-10-04 05:19:32 +00:00
[email protected]
9661a1ee9f
bug 10009 - uses width set on <td> in figuring width of nested table
1999-09-28 21:57:44 +00:00
[email protected]
e9732b7feb
Squish a warning or two
1999-09-17 20:16:37 +00:00
[email protected]
64db7a1df0
bug 13683 - fixed memory leak.
1999-09-16 22:24:03 +00:00
[email protected]
1053b19d4f
removed border subtraction from out table frame and adjusted in layout strategy.
1999-09-13 21:45:58 +00:00
[email protected]
bec7a58f27
bug 12287 - removed nsTableFrame::GetContainerWidth, renamed TableIsAutoWidth to IsAutoWidth and simplified.
1999-08-27 21:15:21 +00:00
[email protected]
ab94a62954
bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
1999-08-25 21:49:18 +00:00
[email protected]
9f37cd96e7
replaced debug flags with class. removed compiler warnings.
1999-08-24 12:01:31 +00:00
[email protected]
51f510d09f
bug 11026 - rounding error on balancing when max element size is too large.
1999-08-23 04:41:30 +00:00
[email protected]
6f5364e38b
changed initial value in ColumnsAreValidFor.
1999-08-22 02:36:00 +00:00
[email protected]
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
[email protected]
9eb02eeb70
bug 11944 - row group is properly offset using table border. cleaned up new incremental reflow methods.
1999-08-20 23:27:54 +00:00
[email protected]
b344c40d93
remove macintosh compiler warnings
1999-08-20 13:27:48 +00:00
[email protected]
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
[email protected]
6f11207ef1
figuring a col's adj min width from a colspan uses adj min width
1999-08-03 23:16:43 +00:00
[email protected]
a6e4ff24b6
fixes related to crash in AC_Wrapup on optimized builds.
1999-07-28 19:43:37 +00:00
[email protected]
73c51845d7
zero out colInfo wehen allocated to avoid startup crash and other badness
1999-07-28 18:52:04 +00:00
[email protected]
f1201519ab
fix mac breakage, hopefully
1999-07-28 09:13:44 +00:00
[email protected]
8192e46937
Attempt to fix the mac build.
1999-07-28 08:56:12 +00:00
[email protected]
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
[email protected]
84b5f256c8
fixed warnings
1999-06-28 13:44:40 +00:00
[email protected]
9b28ac392e
bug 7243. Rewrote FixedTableLayoutStrategy::AssignPreliminaryColumnWidths
1999-06-03 02:42:33 +00:00
[email protected]
a138139e00
Rewrote DistributeRemainingSpace a 2nd time and added compat mode.
...
bug 6068, 6933. nsTableRowGroupFrame::CalculateRowHeights - changed row spans to consider
top and bottom margins during height calculations. Calculations using percentages ensure that the sum of
rows sum exactly to excess.
bug 6404 BasicTableLayoutStrategy::BalanceColumnsConstrained cols in span other than 1st col was
not getting additional allocations from cell. ::DistributeRemainSpace uses max width of col
instead of max effective width. Also added checks for negative value during percentage calculations.
1999-05-26 22:22:23 +00:00
[email protected]
5848571fa7
support for css padding in table cells
1999-05-18 05:18:16 +00:00
[email protected]
dadf989d20
bug 6184 - reworked alogrithm for reallocating space to auto width columns.
1999-05-10 19:23:09 +00:00
[email protected]
160fcdf87b
code clean up, use of macros for table debugging
1999-04-03 23:02:43 +00:00
[email protected]
b2d859edbe
Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
...
not references
1999-02-24 04:48:08 +00:00
[email protected]
74b2988510
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
[email protected]
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
[email protected]
2cc9b7df8b
just documentation
1999-01-07 02:16:10 +00:00
[email protected]
7663d54636
WIP for collapsing borders
1998-12-23 15:47:43 +00:00
[email protected]
975ea05df4
tables can now have independent horizontal and vertical cell spacing
...
("cellspacing" HTML attribute == "border-spacing" CSS property, go figure...)
1998-12-09 06:37:18 +00:00
[email protected]
2dec1087cf
fixed a bug in table-layout:fixed mode
...
fixed bug fixed a few small bugs
1998-12-08 01:00:14 +00:00
[email protected]
b0e257c82e
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
1998-12-05 05:27:21 +00:00
[email protected]
2c2bdfb430
the inner table frame now maintains 2 child lists: the main child lists that holds rowgroups and unknown frame
...
types, and mColGroups. Besides being cleaner and easier to maintain, this should speed some things up slightly
because I don't have to check display types every time I iterate through colgroup frames. I *know*
mColGroups contains only colgroups. I might do the same for rowgroups (that is, keep unknown frame types
in their own list as well.) But that's optional.
the inner table frame used to incorrectly create actual content objects for anonymous colgroups and cols. Now,
it just creates frames as appropriate, not content. To support this, I added some pseudo style contexts and
related atoms.
1998-12-03 18:01:35 +00:00