232 Commits

Author SHA1 Message Date
buster
d49c07ece7 less inlining, for UNIX and Linux builds
git-svn-id: svn://10.0.0.236/trunk@3508 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 20:53:43 +00:00
buster
c1f648a966 most HTML 4 attributes supported (though some are still ignored)
lots of methods made inline


git-svn-id: svn://10.0.0.236/trunk@3503 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 19:57:04 +00:00
buster
cb72a8e498 complete HTML 3.2 attribute support
git-svn-id: svn://10.0.0.236/trunk@3491 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 17:19:26 +00:00
buster
d19132565a more attributes: cell nowrap, caption align, some misc HTML 4 attributes too
git-svn-id: svn://10.0.0.236/trunk@3488 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 15:47:03 +00:00
kipp
56377ec47d Fixed table cell's so that translate valign back to a string properly
git-svn-id: svn://10.0.0.236/trunk@3417 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:48:10 +00:00
buster
c544e9ad78 clean up, and still better cell width attribute layout
git-svn-id: svn://10.0.0.236/trunk@3386 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 22:50:03 +00:00
buster
4955cecaaa column widths with cells that span columns now work in most cases, for pixels and percents
not yet implemented for the "constrained" case


git-svn-id: svn://10.0.0.236/trunk@3349 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:11:20 +00:00
peterl
bc184de5ad sync up to new style data apis
git-svn-id: svn://10.0.0.236/trunk@3322 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:09:09 +00:00
buster
1187bf4578 cells with colspans and width attributes now work correctly
git-svn-id: svn://10.0.0.236/trunk@3303 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 02:50:46 +00:00
buster
a8657b2060 cell width calculations are working (not for colspan cells yet)
some bug fixes and optimizations
some of the more elaborate test cases are closer to Nav4-compatible


git-svn-id: svn://10.0.0.236/trunk@3301 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 02:36:25 +00:00
kipp
0d2a492c8f Whacked to implement revised COMized insert/delete/remove/append child methods from nsIContent
git-svn-id: svn://10.0.0.236/trunk@3065 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 16:01:02 +00:00
buster
c660db67ef a variety of fixes and optimizations
together with a fix troy just checked in, this makes a lot of real-world tables look a whole lot better


git-svn-id: svn://10.0.0.236/trunk@2982 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:43:53 +00:00
buster
7dd2b9314d made tables quiet again
git-svn-id: svn://10.0.0.236/trunk@2849 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 21:07:56 +00:00
buster
e2175a52f2 much better fixed and percentage width layout
git-svn-id: svn://10.0.0.236/trunk@2839 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:21:05 +00:00
kipp
69de10fd12 Updated a few table API's so that percentage width could be properly computed
git-svn-id: svn://10.0.0.236/trunk@2759 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:21:51 +00:00
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