Commit Graph

120 Commits

Author SHA1 Message Date
buster
a972bb8d29 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.
1998-04-30 17:57:09 +00:00
buster
91aae361d3 fixed a rounding error, and made tables quiet 1998-04-30 15:20:23 +00:00
michaelp
33997423e6 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.
1998-04-30 02:41:14 +00:00
buster
dcc6e9e245 lots of pre-conditions and asserts added
fixed a bug in layout having to do with sizing cells in columns that are spanned into
1998-04-30 00:27:59 +00:00
rpotts
68c4a8813d PRBool is now a PRIntn which caused conflicts between member functions mangled on PRInt32 vs PRBool. To fix the build I removed the PRBool versions... 1998-04-29 19:52:45 +00:00
kostello
bdf389f0c9 Fixed Unix Build Error -- nsCoord.h must be case sensitive 1998-04-29 18:39:30 +00:00
karnaze
02ffa1d129 ifdefed MapAttributesInto 1998-04-29 17:27:44 +00:00
karnaze
e8eb15e667 ifdefed style sizing code 1998-04-29 17:14:24 +00:00
karnaze
0c464e061d minor cleanup, reinstate css sizing. 1998-04-29 16:30:55 +00:00
michaelp
349aea1957 more cliprect api changes... 1998-04-29 02:24:07 +00:00
troy
4123dc2ed8 Changed space manager to return a list of available and unavailable trapezoids 1998-04-29 00:58:16 +00:00
peterl
fc1f06f9c2 changed nsStyleText to use nsStyleCoord 1998-04-28 23:57:01 +00:00
peterl
e69f24d204 removed inheritance from style mapping
changed nsStyleText to use nsStyleCoord
1998-04-28 23:56:28 +00:00
kostello
3290c4a875 Call to RecalcLayoutData 1998-04-28 22:44:05 +00:00
kostello
b7f9b6bb35 Updated table to process cellpadding, cellspacing and background color
attributes
1998-04-28 22:43:19 +00:00
kostello
629b7937fc Name changed from ResetColumnLayoutData to RecalcColumnLayoutData 1998-04-28 22:41:25 +00:00
kostello
1a06b73ae4 Added SetTableForChildren to set the children's table instance variable 1998-04-28 22:40:22 +00:00
kostello
96fa28d30f Added MapHTMLBorderStyle, MapBorderMarginPaddingInto 1998-04-28 22:34:16 +00:00
troy
b8ac3006fb Added an XXX to CreateFrame() as a reminder that we're resolving the
style context more than once...
1998-04-28 20:58:46 +00:00
michaelp
c8fa2102e0 changed clipping apis so that they take parameters in the same form that
clipping is expressed in layer tags and css-p.
added support for setting transforms in layers (untested and very likely
problematic if scales are applied).
changed event handling and painting apis in views to support inherited
visibility.
all parameters passed into view.Init() are now properly stored in the view.
view opacity apis are now real.
1998-04-28 19:16:24 +00:00
karnaze
0df7874f85 fix submit crash in nsWindow; more form control functionality 1998-04-28 18:59:38 +00:00
kipp
18f3a36a20 Correctly compute width of body frame 1998-04-28 16:12:54 +00:00
kipp
71728fe999 Allow for optional commas between clip rect elements 1998-04-28 15:24:44 +00:00
kipp
6905ae6622 updated 1998-04-28 15:24:20 +00:00
troy
beceaa1b53 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +00:00
buster
bc48be7cc5 sped up nsBlockFrame significantly by reducing the number of times we resolve style by almost 50% on initial layout
(percentage savings go way up as the window is resized)
1998-04-27 22:33:55 +00:00
kipp
1fb3e42519 Use PERCENT instead of PCT in style constants; udpated usage of vertical alignment information in nsStyleText 1998-04-27 21:26:48 +00:00
kipp
bf0e442b27 Implement all of the text styles; update to use PERCENT in naming of style constants 1998-04-27 21:26:06 +00:00
kipp
732531f4c7 Use PERCENT instead of PCT in style constants; implement vertial alignment for length values and percent values 1998-04-27 21:24:33 +00:00
kipp
380556b3c7 Normalize structure member names 1998-04-27 21:24:06 +00:00
kipp
e1808f7371 Use PERCENT style constants instead of PCT 1998-04-27 21:22:06 +00:00
kipp
581f83a1fd new 1998-04-27 15:43:09 +00:00
kipp
0e59c2de8c Removed hack 1998-04-27 15:39:58 +00:00
kipp
3c277d5f82 Get cursor properly 1998-04-26 03:47:53 +00:00
kipp
ccb9067008 Added in cursor and direction properties 1998-04-26 03:47:37 +00:00
kipp
414176bd83 Add in cursors 1998-04-26 03:47:06 +00:00
kipp
b5b7b7b4ff Always return ibeam cursor for text 1998-04-26 03:46:51 +00:00
kipp
941c955ed8 Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00
rickg
808f265fa1 update 1998-04-25 19:46:11 +00:00
kipp
3af5e0736e new keywords 1998-04-25 19:11:20 +00:00
kipp
93fdfbe671 Port to removal of nsStyleMolecule 1998-04-25 18:48:48 +00:00
kipp
411ab2a617 Fixed a memory problem; implement align and border properties 1998-04-25 18:48:30 +00:00
kipp
c588caa1db Port to removal of nsStyleMolecule; add in border support 1998-04-25 18:46:55 +00:00
kipp
4d3e04fbea Added in nsCSSDisplay; cleaned up text align; moved float, clear and display out of position and into display 1998-04-25 18:45:22 +00:00
kipp
e5b3174e4c Implement borders, padding, text-align properties, display, etc. Fixed bug in list inheritance 1998-04-25 18:44:55 +00:00
kipp
cd1e827899 Updated to use new style constants 1998-04-25 18:44:17 +00:00
kipp
a9a585a83b Added support for more properties 1998-04-25 18:43:42 +00:00
kipp
cc3135da10 updated 1998-04-25 18:41:41 +00:00
kipp
f0db59c603 Stop using nsStyleMolecule; fixed bug that led to missing spaces 1998-04-25 18:41:33 +00:00
kipp
dbfabd5c7a Fixed up cursor handling; map align parameter 1998-04-25 18:40:47 +00:00