troy
afdf23392e
Added an XXX to remind me to talk with Cujo about how we determine
...
whether the column widths have changed...
1998-07-15 04:52:32 +00:00
troy
21525a97ca
Turned off some code that was accidently turned on
1998-07-15 04:46:51 +00:00
troy
88ad0371f3
Some improvements to the incremental reflow logic to handle all the
...
cases handled by resize reflow
1998-07-15 04:45:58 +00:00
troy
d660868bc2
Changed API for CreateContinuingFrame and GetReflowMetrics to take
...
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy
a90fe8e1de
Changed Reflow() member function to take a reference to a nsIPresContext
...
instead of a pointer
1998-07-15 02:53:09 +00:00
troy
8fb033f617
Incremental reflow changes
1998-07-14 15:29:50 +00:00
kipp
78d4f7fa5e
Added code so that TR VALIGN's will dump properly when content is dumped
1998-07-13 21:16:51 +00:00
buster
6670b21c59
turned debug noise off
1998-07-13 20:44:07 +00:00
buster
d00c767f83
for Nav compatibility, 0-width cells do not have insets
1998-07-13 20:41:38 +00:00
buster
2eb1eecd14
added Nav4 compatibility code for 0-width cells
1998-07-13 19:22:45 +00:00
buster
5be37245a3
fixed 2 minor space leaks having to do with temporary structs allocated
...
to handle colspans
1998-07-13 18:11:12 +00:00
kipp
a53b58f65f
Reflow child when max-element-size is requested (this works around a purify detected crash)
1998-07-12 00:19:17 +00:00
troy
5d8fdf9dd8
Added back in some changes that got lost in the previous
...
check-in
1998-07-11 04:16:29 +00:00
buster
6e3192f275
fixed unix build, and one small uninitialized variable problem
1998-07-11 00:47:29 +00:00
buster
8ce4ae05e9
*** empty log message ***
1998-07-11 00:08:08 +00:00
buster
3e596fc26a
major hackage to the table data structures. slimmer, simpler, faster
...
this work exposed a few bugs and slow spots, which have been fixed
for the aol page, I added some additional backwards compatibility code
to proportionately distribute width when a fixed-width cell has colspans
1998-07-11 00:00:31 +00:00
troy
786d36083e
More code re-shuffling. I need to hurry and check-in before Cujo
...
whacks the tree
1998-07-10 22:56:13 +00:00
troy
97ae834b23
Deprecated the SetFirstContentOffset/SetLastContentOffset member
...
functions that take a nsIFrame*
1998-07-10 19:04:06 +00:00
troy
b147b465e4
Changed it so we assume that rows are always complete
1998-07-10 05:23:05 +00:00
troy
4e29404d47
Some incremental improvements
1998-07-10 04:00:38 +00:00
troy
360378b073
Changed it so the inner table is reflowed by using the Reflow()
...
member function rather than poking the individual pass 1, pass 2, ...
member functions
1998-07-09 14:30:34 +00:00
troy
ff91686953
Changes to the caption handling code
1998-07-08 20:21:17 +00:00
troy
3a510d5648
Tables not allow only one caption
1998-07-08 04:49:01 +00:00
troy
dbb8e4e65a
Cleaned up ShrinkWrapChildren so pass 1 doesn't resize the rows
1998-07-07 03:48:21 +00:00
buster
72142b30f4
fixed 3 dumb bugs I introduced recently.
...
1. cellmap couldn't properly delete CellData because definition was unavailable
2. optimized table cells made taller wouldn't shrink when they should because we were not
remembering the previous desired height of the cell.
3. rows were placing cells on the left edge, and not adding in the left margin.
1998-07-07 01:06:51 +00:00
troy
6d54a65afb
More incremental reflow changes
1998-07-07 00:49:07 +00:00
buster
f8cb71dab5
fix for empty tables. we now support tables that have no content.
1998-07-07 00:20:21 +00:00
buster
e90e663a7b
fixed a few bugs with distributing excess/restricted space inappropriately.
...
we now pass around info about whether we're an auto width table.
1998-07-06 22:48:19 +00:00
troy
35c2e6b45c
Incremental reflow work-in-progress
1998-07-06 21:39:23 +00:00
buster
5135afe659
added support for "effective column widths", the width of a column pretending that spanning cells have no effect.
...
this gets us some more Nav4 compatibility.
several minor fixes.
1998-07-06 21:00:11 +00:00
kipp
37213af260
Don't build shared libraries
1998-07-03 23:12:11 +00:00
troy
44b7ebb358
More work-in-progress incremental reflow code
1998-07-02 23:19:31 +00:00
kipp
f0ed6d38a2
Fixed bug where tables weren't returning a proper set of metrics
1998-07-02 21:24:56 +00:00
troy
d138bc14e1
Moved code that resized the table row cells from the row group frame
...
to the row frame. It's now handled as part of the DidReflow() post-
processing code
1998-07-02 20:35:23 +00:00
buster
b54c4bdc95
added an optimization that skips pass2 cell reflows when the new available width is unchanged
...
from the prior available width. Some real-world test cases sped up
1-2 orders of magnitude for resize reflow. Initial reflow is unchanged because
we still need to get pass1 metrics on all content.
fixed nsCSSBlockFrame.cpp to take margins into account when computing parent's available width
fixed distribution of excess space to table cells when table is bigger than the content it holds.
not quite finished yet, but better.
1998-07-02 17:40:56 +00:00
troy
8df0e96786
Some work-in-progress for incremental reflow
1998-07-02 05:39:10 +00:00
atotic
9689fc070a
Fixed the for (PRInt32 i=) problem
1998-07-01 22:40:00 +00:00
troy
183b82a765
Eliminated some usage of ChildAt()
1998-07-01 22:22:28 +00:00
troy
59d4da2785
Some work-in-progress for incremental reflow
1998-07-01 04:55:15 +00:00
troy
aa312a24e8
Removed some vertical margin collapsing stuff that wasn't needed
1998-07-01 03:03:32 +00:00
kipp
541fe9b490
Use new PropagateContentOffsets API
1998-06-30 20:22:44 +00:00
buster
70c232ebd4
fixed-width cells no longer improperly impact the available size
...
of subsequent cells in reflow pass 1
we correctly distribute extra space in a table proportionately.
We try to give the extra space to auto-width columns first,
and if there are none we distribute it to all columns.
The percentage is based on the cell content's desired size.
1998-06-30 20:12:45 +00:00
troy
add97af1d2
Moved shrink wrap code from table frame to table row group frame
1998-06-30 02:11:07 +00:00
buster
5a4c2d4364
columns that are fixed-width due to an attribute on the corresponding cell in the first row
...
now work correctly.
extra space is now properly apportioned in the "table fits" case when the table contains auto-width cells.
1998-06-30 00:37:03 +00:00
buster
1f0d9a91f1
cells no longer monkey with their available width based on attribute constraints.
...
The row does this work now. This makes table layout more properly top-down.
1998-06-29 20:38:22 +00:00
buster
705daa1418
minor tweaks for table layout
1998-06-29 03:09:14 +00:00
atotic
1437970bf6
That for (int i)... problem fix
1998-06-27 02:49:36 +00:00
atotic
12f2a33570
Another class reference inside class declaration problem
class A {
void A:method
};
is bad
1998-06-27 02:48:39 +00:00
atotic
afb360e8c5
Fixed mac warnings
1998-06-27 02:47:44 +00:00
buster
471f5b46a8
support for Nav4 compatibility -- auto-width cells with 0-width content are 1 pixel wide
1998-06-26 23:31:33 +00:00