67 Commits

Author SHA1 Message Date
buster
a4a065bae0 some proportional column balancing now works
the <TABLE> COLS attribute is supported via proportional column balancing.


git-svn-id: svn://10.0.0.236/trunk@2648 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:08:19 +00:00
troy
003a885b86 Changed nsReflowState structs to be linked together
git-svn-id: svn://10.0.0.236/trunk@2643 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 20:36:05 +00:00
buster
d3a587c5ca set the groundwork for handling COLS attribute, and attributes on COLGROUP and COL tags. WIP.
set the groundwork for handling percentage-width tables.  Troy is adding a hook for me to get the correct width info from the parent.  WIP.


git-svn-id: svn://10.0.0.236/trunk@2570 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:39:22 +00:00
troy
ea3a30a606 Added WillReflow() calls around reflowing of child frame
git-svn-id: svn://10.0.0.236/trunk@2514 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:37:56 +00:00
kostello
066a9ee625 Fix crasher loading mozilla.org page
git-svn-id: svn://10.0.0.236/trunk@2513 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:31:44 +00:00
buster
db2f93e156 fixed case-sensitive include
git-svn-id: svn://10.0.0.236/trunk@2307 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:28:48 +00:00
peterl
e232225565 added visibility style attribute
git-svn-id: svn://10.0.0.236/trunk@2306 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:17:29 +00:00
buster
314c1c9eb4 table width computation using style system (more than it used to, at least)
git-svn-id: svn://10.0.0.236/trunk@2294 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 22:03:16 +00:00
kostello
b9b928f869 Updated Table Border code to render HTML3.2 compatible borders (no longer using the cool,
CSS borders).
Fixed Table but submitted by Isaac David Guedalia <daniel_sh@gezernet.co.il>.


git-svn-id: svn://10.0.0.236/trunk@2288 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 20:57:24 +00:00
troy
d2d4e15ea4 Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function
git-svn-id: svn://10.0.0.236/trunk@2253 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-25 17:31:49 +00:00
kipp
04d414f623 Fixed windows cvpack problem
git-svn-id: svn://10.0.0.236/trunk@2199 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:41:08 +00:00
kipp
c6d6b4ec78 Removed a pile of includes
git-svn-id: svn://10.0.0.236/trunk@2198 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:39:28 +00:00
troy
ac413c29fa Changed splittable enum to be bit flags
git-svn-id: svn://10.0.0.236/trunk@2167 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 04:54:11 +00:00
buster
9d29532002 made nsTableCaptionFrame a subclass of nsBodyFrame
git-svn-id: svn://10.0.0.236/trunk@2151 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 00:05:22 +00:00
kostello
997174b4d5 * Added Support for cell spacing
* NOTE: due to changes in the style system -- things won't look correct right away.


git-svn-id: svn://10.0.0.236/trunk@2149 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 23:43:18 +00:00
peterl
25861753fc Changed GetStyleData to use an enum instead of an nsID
git-svn-id: svn://10.0.0.236/trunk@2090 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 02:34:13 +00:00
thom
38a3d3a5fc fixed compile errors for mac
git-svn-id: svn://10.0.0.236/trunk@1984 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 23:11:28 +00:00
kipp
368de8a159 Fixed up code that wasn't using the nsReflowStatus constants defined in nsIFrame.h
git-svn-id: svn://10.0.0.236/trunk@1588 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 00:49:46 +00:00
peterl
9194035028 attribute fix for kostello
git-svn-id: svn://10.0.0.236/trunk@1568 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 22:41:15 +00:00
michaelp
7225f63069 added gamma correction methods to the device context. the windows rendering context now
gamma corrects colors. fixed tablecellframe to call the right nsStyleCoord constructor.


git-svn-id: svn://10.0.0.236/trunk@1521 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 18:15:06 +00:00
peterl
f9ecfae273 sync to new spacing apis
git-svn-id: svn://10.0.0.236/trunk@1471 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:28:01 +00:00
troy
a1cde81868 Changed enum to conform with coding standards
git-svn-id: svn://10.0.0.236/trunk@1442 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 04:38:23 +00:00
troy
5a839584c7 Change to nsIFrame API
git-svn-id: svn://10.0.0.236/trunk@1441 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 04:17:56 +00:00
troy
9a3b2e21ef Changed table code to pay attention to the ALIGN attribute
git-svn-id: svn://10.0.0.236/trunk@1394 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 21:31:12 +00:00
kipp
9003aba3c1 Fixed irix bustage
git-svn-id: svn://10.0.0.236/trunk@1345 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 21:12:12 +00:00
kipp
d75e25fc42 Ported to new CreateFrame/CreateContinuingFrame APIs
git-svn-id: svn://10.0.0.236/trunk@1204 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 00:08:20 +00:00
troy
22a5d2831e Frames no longet store the content index-in-parent
git-svn-id: svn://10.0.0.236/trunk@1169 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 23:56:50 +00:00
troy
295ea0d708 Changed body to create block pseudo-frame instead of a column pseudo frame,
and hooked up the reflow appended code


git-svn-id: svn://10.0.0.236/trunk@1072 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 03:51:48 +00:00
kostello
4d778817c3 Cleaned up getting attribute values
git-svn-id: svn://10.0.0.236/trunk@1031 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 21:55:36 +00:00
kostello
36357f1dc0 Made SetStyleContext take the presentation context as a parameter
Made DidSetStyleContext virtual, since we need to override the behavior in subclasses
Moved attribute setting logic from nsTableCell to nsTableCellFrame
Table Borders are being drawn again : )
Table Padding is being displayed


git-svn-id: svn://10.0.0.236/trunk@1027 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 20:44:55 +00:00
peterl
f102a97623 updated to new value class api
git-svn-id: svn://10.0.0.236/trunk@924 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:55:51 +00:00
buster
10cf7de2c3 fixed method names
git-svn-id: svn://10.0.0.236/trunk@912 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 18:04:16 +00:00
buster
3a3e869ea0 added nsITableLayoutStrategy as the interface for objects that manage
table column balancing.  Implemented in BasicTableLayoutStrategy (HTML4-spec).
nsTableFrame instantiates a strategy depending on the compatibility mode.


git-svn-id: svn://10.0.0.236/trunk@911 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 17:57:09 +00:00
buster
ea4ac0c312 fixed a rounding error, and made tables quiet
git-svn-id: svn://10.0.0.236/trunk@907 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 15:20:23 +00:00
michaelp
228526d605 minor tweaks to UpdateView() in view manager. if you want to invalidate a whole
view, pass in nsnull for the nsRegion param.
viewmanager InsertChild() above/below now does the right thing.
fixed cujo's table thingie.


git-svn-id: svn://10.0.0.236/trunk@893 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 02:41:14 +00:00
buster
4744264a52 lots of pre-conditions and asserts added
fixed a bug in layout having to do with sizing cells in columns that are spanned into


git-svn-id: svn://10.0.0.236/trunk@887 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 00:27:59 +00:00
kostello
e8e9dbc69b Fixed Unix Build Error -- nsCoord.h must be case sensitive
git-svn-id: svn://10.0.0.236/trunk@858 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 18:39:30 +00:00
peterl
9bd123cf4d changed nsStyleText to use nsStyleCoord
git-svn-id: svn://10.0.0.236/trunk@810 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 23:57:01 +00:00
kostello
ac5c637ccd Call to RecalcLayoutData
git-svn-id: svn://10.0.0.236/trunk@805 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:44:05 +00:00
kostello
c14bf79c47 Updated table to process cellpadding, cellspacing and background color
attributes


git-svn-id: svn://10.0.0.236/trunk@802 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:43:19 +00:00
kostello
d534119b9b Name changed from ResetColumnLayoutData to RecalcColumnLayoutData
git-svn-id: svn://10.0.0.236/trunk@801 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:41:25 +00:00
kostello
5c08b8b7ff Added SetTableForChildren to set the children's table instance variable
git-svn-id: svn://10.0.0.236/trunk@800 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:40:22 +00:00
kostello
0d5d1cb20d Added MapHTMLBorderStyle, MapBorderMarginPaddingInto
git-svn-id: svn://10.0.0.236/trunk@799 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:34:16 +00:00
kipp
2344c29ea1 Use PERCENT instead of PCT in style constants; udpated usage of vertical alignment information in nsStyleText
git-svn-id: svn://10.0.0.236/trunk@717 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 21:26:48 +00:00
kipp
902295a137 Fix porting bugs - made it compile on IRIX
git-svn-id: svn://10.0.0.236/trunk@677 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 02:59:29 +00:00
kipp
b87f9199b6 Port to removal of nsStyleMolecule
git-svn-id: svn://10.0.0.236/trunk@665 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:48:48 +00:00
kipp
93894c3b99 Fixed a memory problem; implement align and border properties
git-svn-id: svn://10.0.0.236/trunk@664 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:48:30 +00:00
kipp
e9b3f7100f Port to removal of nsStyleMolecule; add in border support
git-svn-id: svn://10.0.0.236/trunk@663 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:46:55 +00:00
buster
68ef434e82 even better pagination. Tables with small captions can split, and
simple tables with big cells can split the cell (and it's row)


git-svn-id: svn://10.0.0.236/trunk@615 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 20:59:44 +00:00
buster
7afb5d93bb fixed a nefarious little bug with multiple row spans in the same table
subsequent rows (the ones below the effected rows) were not placed correctly
when the height of the spanning cell became greater than the sum of the heights
of the rows it spanned.


git-svn-id: svn://10.0.0.236/trunk@566 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 22:59:07 +00:00