troy%netscape.com
d67ed45304
Changed BuildCellMap() to iterate table cell frames using the sibling
...
list instead of ChildAt()
git-svn-id: svn://10.0.0.236/trunk@6847 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 04:50:38 +00:00
troy%netscape.com
4cfdd62847
Changed nsString to nsAutoString to eliminate heap allocation
...
git-svn-id: svn://10.0.0.236/trunk@6838 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:49:13 +00:00
kipp%netscape.com
101913b9b5
Remove most compiler warnings on IRIX
...
git-svn-id: svn://10.0.0.236/trunk@6756 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:19:08 +00:00
buster%netscape.com
3fbc040e9a
fix for distributing spanned width that is less than the column minimums it spans.
...
git-svn-id: svn://10.0.0.236/trunk@6588 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:23:01 +00:00
buster%netscape.com
d5270b8dea
more span fixes
...
git-svn-id: svn://10.0.0.236/trunk@6584 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:47:54 +00:00
kostello%netscape.com
8835c76c61
Added support for the copy command (converting the selection to XIF)
...
Changed XIF interface
git-svn-id: svn://10.0.0.236/trunk@6544 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:11:14 +00:00
buster%netscape.com
e61f20a237
empty cells do not render border or background color
...
git-svn-id: svn://10.0.0.236/trunk@6514 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 07:37:57 +00:00
buster%netscape.com
d257e2c1e8
minor fixes for spans
...
git-svn-id: svn://10.0.0.236/trunk@6513 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 07:20:03 +00:00
buster%netscape.com
97be0fee7f
cleaner version of earlier code. still buggy on some pages for no apparent reason.
...
git-svn-id: svn://10.0.0.236/trunk@6511 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 05:32:50 +00:00
buster%netscape.com
5eeba2d305
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@6508 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 03:02:32 +00:00
buster%netscape.com
c017339e1c
much better handling of tables who have fixed-width columns that make the table wider than it is allowed to be
...
added some sanity checking in BalanceColumnWidths be ensure that a column width
can never be less than the minimum element in that column.
git-svn-id: svn://10.0.0.236/trunk@6507 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 02:15:37 +00:00
buster%netscape.com
a264875bff
COLS attribute ignored if any column width info is specified (like <TD width=100>)
...
fixed lots of COLS related bugs.
handle min width spec (<TD width=0 or width=0% or width=0*>)
major fix to colspan handling
git-svn-id: svn://10.0.0.236/trunk@6493 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 04:23:01 +00:00
buster%netscape.com
de71f78fb7
NOWRAP turned off in fixed-width cells for backwards compatibility
...
we handle inconsistent width attributes better
git-svn-id: svn://10.0.0.236/trunk@6448 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:26:23 +00:00
buster%netscape.com
2f95de4aac
turn off debug
...
git-svn-id: svn://10.0.0.236/trunk@6403 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 17:15:12 +00:00
buster%netscape.com
5c09b61055
GetColCount now returns the effective column count of the table, adjusted
...
for nonsense COLSPANs at the edge of a table. Fixed some bugs this uncovered
where the cell was being asked for its colspan attribute rather than the table
being asked for the cell's effective col span.
git-svn-id: svn://10.0.0.236/trunk@6402 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 16:51:16 +00:00
buster%netscape.com
37153913f6
fixed column balancing for case where minColWidth > specifiedFixedColumnWidth
...
git-svn-id: svn://10.0.0.236/trunk@6361 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 03:53:59 +00:00
buster%netscape.com
ec0b3d1318
any table with a nonsense rowspan lays out better
...
git-svn-id: svn://10.0.0.236/trunk@6344 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:43:09 +00:00
buster%netscape.com
73c07a04f5
completed AdjustTableThatIsTooWide, now gets the table down to the right width.
...
git-svn-id: svn://10.0.0.236/trunk@6321 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:55:45 +00:00
peterl%netscape.com
590cae8cb1
factored backgound finding code to nsStyleUtil
...
git-svn-id: svn://10.0.0.236/trunk@6266 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:05:03 +00:00
buster%netscape.com
87d38283ca
fixed-width columns now respected when their content desired width exceeds
...
the specified width.
git-svn-id: svn://10.0.0.236/trunk@6179 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 20:06:31 +00:00
buster%netscape.com
00a794eb94
BasicTableLayoutStrategy::Initialize now properly re-iinitializes instance variables
...
git-svn-id: svn://10.0.0.236/trunk@6173 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 18:22:12 +00:00
buster%netscape.com
97ce24b2ed
fixed table width problems when there are colspanning cells
...
git-svn-id: svn://10.0.0.236/trunk@6154 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 05:38:41 +00:00
troy%netscape.com
878c1d1350
Changed PaintBorder() to use the (x,y) that's passed in
...
git-svn-id: svn://10.0.0.236/trunk@6152 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 05:02:07 +00:00
buster%netscape.com
26234a5a97
* reworked the way colspan and rowspans are handled in table layout strategy. We do less work, and we look better.
...
* fixed more margin code. we're inching towards correctness.
* the width contributed by a colspanning cell is now proportionately distributed to the columns based on the columns "effective width"
* added logic for handling illegal COLS attribute on a table (like COLS=4 in a 3-column table). See nsTableFrame::GetEffectiveCOLSAttribute()
* added logic for handling illegal COLSPAN attribute on a cell (like COLSPAN=4 in a 3-column table). See nsTableFrame::GetEffectiveColSpan(). This is wrong, and will get reworked soon.
* added the ability for cell width attributes to effect column width like Nav4.
git-svn-id: svn://10.0.0.236/trunk@6145 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 03:53:43 +00:00
troy%netscape.com
e727c63ed5
Changed nsCSSRendering::PaintBorder() so the entire rect is used
...
and not just the width and height
git-svn-id: svn://10.0.0.236/trunk@6136 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 02:46:00 +00:00
troy%netscape.com
a237b859e6
Fixed it so tables that don't want a border don't get a border
...
git-svn-id: svn://10.0.0.236/trunk@6063 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 08:12:22 +00:00
troy%netscape.com
23025b2d69
Commented out code that was forcing the border style to solid rather
...
than using whatever is in the default ua style sheet (inset)
git-svn-id: svn://10.0.0.236/trunk@6062 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 07:47:46 +00:00
troy%netscape.com
5e3cee8013
Changed Paint() to use the parent frame's color style struct. We can't use our
...
color style struct because we're a pseudo frame and so the style system forces
us to have a transparent background
git-svn-id: svn://10.0.0.236/trunk@6026 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:58:00 +00:00
troy%netscape.com
6b933cd127
Changed Paint() to render the background if there is one
...
git-svn-id: svn://10.0.0.236/trunk@6025 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:56:17 +00:00
troy%netscape.com
690770da55
Changed SetAttribute() to call nsTableTagContent base class version so that
...
processing of things like "style=" happens
git-svn-id: svn://10.0.0.236/trunk@6024 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:50:46 +00:00
troy%netscape.com
3771cc3a17
Changed MapAttributesInto() to call MapBackgroundAttributesInto() so that
...
the bgcolor attribute is properly handled
git-svn-id: svn://10.0.0.236/trunk@6022 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:30:49 +00:00
buster%netscape.com
2d3b42883a
fixed a space leak/logic error handling colspans
...
added backwards compatibility for percent width tables inside of auto width tables (see http://webreview.com/wr/pub warning: you'll have to look at a local copy until
Troy/Vidur/somebody fixes an image problem.)
git-svn-id: svn://10.0.0.236/trunk@5842 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:02:28 +00:00
buster%netscape.com
2280d3dcab
fixed table maxElementSize
...
git-svn-id: svn://10.0.0.236/trunk@5821 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:51:55 +00:00
buster%netscape.com
8928761040
we now allow empty rows
...
git-svn-id: svn://10.0.0.236/trunk@5820 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:51:43 +00:00
buster%netscape.com
6ec4e2be88
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
git-svn-id: svn://10.0.0.236/trunk@5754 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:23:31 +00:00
kipp%netscape.com
fe90cdc817
Fix incremental reflow bug
...
git-svn-id: svn://10.0.0.236/trunk@5748 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 22:15:02 +00:00
troy
ca3a5dd4c3
Some more changes of nsIPresContext* to nsIPresContext&
...
git-svn-id: svn://10.0.0.236/trunk@5601 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:05:21 +00:00
troy
ee770f6c01
Added an XXX to remind me to talk with Cujo about how we determine
...
whether the column widths have changed...
git-svn-id: svn://10.0.0.236/trunk@5581 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:52:32 +00:00
troy
fea23176e8
Turned off some code that was accidently turned on
...
git-svn-id: svn://10.0.0.236/trunk@5580 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:46:51 +00:00
troy
daf7150ca5
Some improvements to the incremental reflow logic to handle all the
...
cases handled by resize reflow
git-svn-id: svn://10.0.0.236/trunk@5579 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:45:58 +00:00
troy
eb7fa8a66e
Changed API for CreateContinuingFrame and GetReflowMetrics to take
...
a reference to a nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@5569 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 03:23:23 +00:00
troy
547dc8ae9b
Changed Reflow() member function to take a reference to a nsIPresContext
...
instead of a pointer
git-svn-id: svn://10.0.0.236/trunk@5565 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 02:53:09 +00:00
troy
5d54fed53c
Incremental reflow changes
...
git-svn-id: svn://10.0.0.236/trunk@5482 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:29:50 +00:00
kipp
68b5b8e074
Added code so that TR VALIGN's will dump properly when content is dumped
...
git-svn-id: svn://10.0.0.236/trunk@5414 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:16:51 +00:00
buster
d23536257e
turned debug noise off
...
git-svn-id: svn://10.0.0.236/trunk@5412 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 20:44:07 +00:00
buster
1a959d659a
for Nav compatibility, 0-width cells do not have insets
...
git-svn-id: svn://10.0.0.236/trunk@5411 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 20:41:38 +00:00
buster
b481b4f1eb
added Nav4 compatibility code for 0-width cells
...
git-svn-id: svn://10.0.0.236/trunk@5400 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:22:45 +00:00
buster
e51faf6d00
fixed 2 minor space leaks having to do with temporary structs allocated
...
to handle colspans
git-svn-id: svn://10.0.0.236/trunk@5398 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 18:11:12 +00:00
kipp
c6eae7d71d
Reflow child when max-element-size is requested (this works around a purify detected crash)
...
git-svn-id: svn://10.0.0.236/trunk@5375 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 00:19:17 +00:00
troy
fd17693b35
Added back in some changes that got lost in the previous
...
check-in
git-svn-id: svn://10.0.0.236/trunk@5359 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 04:16:29 +00:00