Commit Graph

133 Commits

Author SHA1 Message Date
karnaze
76cb15e29d added <input type=image>, fixed bug where multiple submit buttons sent data 1998-05-01 23:18:44 +00:00
kostello
b49a050473 Cleaned up getting attribute values 1998-05-01 21:55:36 +00:00
kostello
135da9de33 Made SetStyleContext take the presentation context as a parameter 1998-05-01 20:45:15 +00:00
kostello
e34a7ad3f7 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
1998-05-01 20:44:55 +00:00
kostello
296db7f628 Made SetStyleContext take the presentation context as a parameter
Made DidSetStyleContext virtual, since we need to override the behavior in subclasses
1998-05-01 20:43:42 +00:00
rpotts
8f5133010e added netlib to the include path... 1998-05-01 05:07:25 +00:00
michaelp
ff9eae8377 added missing NS_RELEASE() after calling GetWidget(). 1998-05-01 03:09:53 +00:00
michaelp
b72a18a744 added missing NS_RELEASE() after getting a window in the cursor setting code. 1998-05-01 03:09:07 +00:00
kipp
acb8e2e1fb new 1998-04-30 23:32:32 +00:00
peterl
933e7a9b88 update to new value class api 1998-04-30 19:57:36 +00:00
peterl
9aeeecb3d7 added new unit types, cleaned up api 1998-04-30 19:56:39 +00:00
peterl
7f7161a0af updated to new value class api 1998-04-30 19:55:51 +00:00
buster
8471e55c85 fixed method names 1998-04-30 18:04:16 +00:00
buster
427dbb7618 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
2b9cbdb850 fixed a rounding error, and made tables quiet 1998-04-30 15:20:23 +00:00
michaelp
1396c2b34a 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
e00f37ff11 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
25d304ac15 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
7f98d31d36 Fixed Unix Build Error -- nsCoord.h must be case sensitive 1998-04-29 18:39:30 +00:00
karnaze
0c7ab26b02 ifdefed MapAttributesInto 1998-04-29 17:27:44 +00:00
karnaze
99bfa2cb3d ifdefed style sizing code 1998-04-29 17:14:24 +00:00
karnaze
acb174693d minor cleanup, reinstate css sizing. 1998-04-29 16:30:55 +00:00
michaelp
4ea1b0c28e more cliprect api changes... 1998-04-29 02:24:07 +00:00
troy
e0b6c52f8a Changed space manager to return a list of available and unavailable trapezoids 1998-04-29 00:58:16 +00:00
peterl
1e6aac1254 changed nsStyleText to use nsStyleCoord 1998-04-28 23:57:01 +00:00
peterl
b6ca974f79 removed inheritance from style mapping
changed nsStyleText to use nsStyleCoord
1998-04-28 23:56:28 +00:00
kostello
c742266c68 Call to RecalcLayoutData 1998-04-28 22:44:05 +00:00
kostello
abbeb24fd0 Updated table to process cellpadding, cellspacing and background color
attributes
1998-04-28 22:43:19 +00:00
kostello
c5453c810f Name changed from ResetColumnLayoutData to RecalcColumnLayoutData 1998-04-28 22:41:25 +00:00
kostello
c8a7346200 Added SetTableForChildren to set the children's table instance variable 1998-04-28 22:40:22 +00:00
kostello
11a13bb071 Added MapHTMLBorderStyle, MapBorderMarginPaddingInto 1998-04-28 22:34:16 +00:00
troy
e736ea02ff 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
0c7beecefa 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
81c4e8cce4 fix submit crash in nsWindow; more form control functionality 1998-04-28 18:59:38 +00:00
kipp
e4b9d736d2 Correctly compute width of body frame 1998-04-28 16:12:54 +00:00
kipp
29cfdcfcd0 Allow for optional commas between clip rect elements 1998-04-28 15:24:44 +00:00
kipp
f1fad64ff7 updated 1998-04-28 15:24:20 +00:00
troy
212dfb4d21 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +00:00
buster
31c59be411 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
61ecb4069b 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
70bf51fa3d Implement all of the text styles; update to use PERCENT in naming of style constants 1998-04-27 21:26:06 +00:00
kipp
fdc87f4718 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
bb28def8b7 Normalize structure member names 1998-04-27 21:24:06 +00:00
kipp
d4cd292b79 Use PERCENT style constants instead of PCT 1998-04-27 21:22:06 +00:00
kipp
4f69d32b17 new 1998-04-27 15:43:09 +00:00
kipp
de0bb49c0b Removed hack 1998-04-27 15:39:58 +00:00
kipp
433bbddb1b Get cursor properly 1998-04-26 03:47:53 +00:00
kipp
76bba6f510 Added in cursor and direction properties 1998-04-26 03:47:37 +00:00
kipp
413c2679f5 Add in cursors 1998-04-26 03:47:06 +00:00
kipp
c57670cc77 Always return ibeam cursor for text 1998-04-26 03:46:51 +00:00