buster@netscape.com
dd50384b0a
fundemental overhaul of the BasicTableLayoutStrategy
...
We now cache lots of useful info in the colframes
we now properly account for margins just as uniform cellspacing
1998-07-16 23:23:31 +00:00
kipp@netscape.com
2cf28670a1
Fix incremental reflow bug
1998-07-16 22:15:02 +00:00
troy
c7fd76b9b5
Some more changes of nsIPresContext* to nsIPresContext&
1998-07-15 17:05:21 +00:00
troy
0af9bfcffa
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
4335469bf3
Turned off some code that was accidently turned on
1998-07-15 04:46:51 +00:00
troy
9344ffe968
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
26046305da
Changed API for CreateContinuingFrame and GetReflowMetrics to take
...
a reference to a nsIPresContext
1998-07-15 03:23:23 +00:00
troy
26b49b4476
Changed Reflow() member function to take a reference to a nsIPresContext
...
instead of a pointer
1998-07-15 02:53:09 +00:00
troy
bd5ceb1a0b
Incremental reflow changes
1998-07-14 15:29:50 +00:00
kipp
c7d8123558
Added code so that TR VALIGN's will dump properly when content is dumped
1998-07-13 21:16:51 +00:00
buster
942afeb2e6
turned debug noise off
1998-07-13 20:44:07 +00:00
buster
418fd7223a
for Nav compatibility, 0-width cells do not have insets
1998-07-13 20:41:38 +00:00
buster
a0a4a17286
added Nav4 compatibility code for 0-width cells
1998-07-13 19:22:45 +00:00
buster
d9e15c6a11
fixed 2 minor space leaks having to do with temporary structs allocated
...
to handle colspans
1998-07-13 18:11:12 +00:00
kipp
35e5e45f55
Reflow child when max-element-size is requested (this works around a purify detected crash)
1998-07-12 00:19:17 +00:00
troy
9aae082f29
Added back in some changes that got lost in the previous
...
check-in
1998-07-11 04:16:29 +00:00
buster
665a72aa9b
fixed unix build, and one small uninitialized variable problem
1998-07-11 00:47:29 +00:00
buster
a2b95020b0
*** empty log message ***
1998-07-11 00:08:08 +00:00
buster
0f3a064a10
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
c0a983c4c4
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
fa4e80a752
Deprecated the SetFirstContentOffset/SetLastContentOffset member
...
functions that take a nsIFrame*
1998-07-10 19:04:06 +00:00
troy
064faadefa
Changed it so we assume that rows are always complete
1998-07-10 05:23:05 +00:00
troy
2c4c3c7420
Some incremental improvements
1998-07-10 04:00:38 +00:00
troy
8a8d9d6bd9
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
daeb7006be
Changes to the caption handling code
1998-07-08 20:21:17 +00:00
troy
019262c017
Tables not allow only one caption
1998-07-08 04:49:01 +00:00
troy
25992f23c0
Cleaned up ShrinkWrapChildren so pass 1 doesn't resize the rows
1998-07-07 03:48:21 +00:00
buster
c34508750f
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
3481cc90e8
More incremental reflow changes
1998-07-07 00:49:07 +00:00
buster
c5522f4239
fix for empty tables. we now support tables that have no content.
1998-07-07 00:20:21 +00:00
buster
39c93691c4
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
9420340aea
Incremental reflow work-in-progress
1998-07-06 21:39:23 +00:00
buster
d4a354c4be
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
40be22c977
Don't build shared libraries
1998-07-03 23:12:11 +00:00
troy
a9b6ca1c86
More work-in-progress incremental reflow code
1998-07-02 23:19:31 +00:00
kipp
359232b3be
Fixed bug where tables weren't returning a proper set of metrics
1998-07-02 21:24:56 +00:00
troy
f5e6a2afc1
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
b121968466
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
6b86eb70cd
Some work-in-progress for incremental reflow
1998-07-02 05:39:10 +00:00
atotic
0af7891257
Fixed the for (PRInt32 i=) problem
1998-07-01 22:40:00 +00:00
troy
0780194275
Eliminated some usage of ChildAt()
1998-07-01 22:22:28 +00:00
troy
d243c0c867
Some work-in-progress for incremental reflow
1998-07-01 04:55:15 +00:00
troy
0fea1c5701
Removed some vertical margin collapsing stuff that wasn't needed
1998-07-01 03:03:32 +00:00
kipp
f9a7f09630
Use new PropagateContentOffsets API
1998-06-30 20:22:44 +00:00
buster
4bb4b8f22b
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
615498146d
Moved shrink wrap code from table frame to table row group frame
1998-06-30 02:11:07 +00:00
buster
8cf8382f01
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
327ba68899
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
c4b2e5f05a
minor tweaks for table layout
1998-06-29 03:09:14 +00:00
atotic
ebe6bf3672
That for (int i)... problem fix
1998-06-27 02:49:36 +00:00