peterl
4c198bdb45
updated to new value class api
1998-04-30 19:55:51 +00:00
peterl
adf806b888
removed include
1998-04-30 19:53:05 +00:00
peterl
8007d1ba75
changed api, added new units
1998-04-30 19:52:46 +00:00
peterl
bd7c900947
changed to nsStylePosition to use nsStyleCoord
1998-04-30 19:52:26 +00:00
peterl
d13f3e9451
removed style position value, added cursor auto
1998-04-30 19:51:52 +00:00
peterl
3d7101b7ce
updated api, added new units
1998-04-30 19:50:36 +00:00
peterl
349e809427
changed nsStypePosition to use nsStyleCoord
1998-04-30 19:50:18 +00:00
rods
40bc934f3b
initial
1998-04-30 19:15:05 +00:00
rods
4ff8130ec4
added selection classes to makefiles and added the selection object and methods to nsDocument and nsIDocument
1998-04-30 18:21:59 +00:00
buster
0c2432db59
fixed method names
1998-04-30 18:04:16 +00:00
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
rods
3735ca89f7
turned off selection
1998-04-30 16:13:01 +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
peterl
6df9c2fbe6
removed unneeded destructors
...
cleaned up some initial values
1998-04-29 21:06:15 +00:00
peterl
078fdb51a3
added normal value
1998-04-29 21:05:28 +00:00
peterl
bc77280fd7
removed unneeded destructors
1998-04-29 21:04:57 +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
rods
90bc62a72a
initial check in
1998-04-29 17:08:57 +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
peterl
7f0ab2c651
added nsStyleCoord
1998-04-28 23:54:06 +00:00
peterl
36ad79f92e
added subclass hook for style post-processing
1998-04-28 23:25:07 +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
4d8d4f9951
Init nsStyleText values using new nsStyleValue
1998-04-27 21:21:42 +00:00
kipp
ae119edbb6
Cleaned up percent names
1998-04-27 21:20:24 +00:00
kipp
05983c54da
Added nsStyleValue and then updated nsStyleText to use it
1998-04-27 21:19:45 +00:00
rods
28ca9ccfe4
started adding selection
1998-04-27 16:44:52 +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
troy
1b17c6e7f7
Added function to set a trapezoid's shape based on a rectangle
1998-04-27 03:35:05 +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
e6099dd7cd
Added inherit for direction style
1998-04-26 03:46:26 +00:00
kipp
941c955ed8
Fix porting bugs - made it compile on IRIX
1998-04-26 02:59:29 +00:00
kipp
60f094b770
Added keywords for cursors and direction
1998-04-26 02:59:02 +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
kipp
14bfc9fbd0
Removed nsStyleMolecule decl
1998-04-25 18:40:17 +00:00
kipp
e88c5944a1
Repaired cursor discovery logic to handle A tag oddities
1998-04-25 18:40:01 +00:00
kipp
881a887f23
new atoms
1998-04-25 18:39:16 +00:00
kipp
8143878ab1
Updated to new style constants
1998-04-25 18:37:29 +00:00
kipp
5a60c8962c
Stop building unused tags file
1998-04-25 18:34:02 +00:00
kipp
f94192041a
Implement nsStyleText, nsStyleDisplay; added cursors; removed hack code
1998-04-25 18:33:32 +00:00
kipp
0881a942f0
Tidy up style constants
1998-04-25 18:33:11 +00:00
kipp
7c51e017b9
Cleaned up the API
1998-04-25 18:32:59 +00:00
kipp
edb8a27c9e
Added nsStyleText, nsStyleDisplay; removed nsStyleMolecule and hack code; cleaned up a few others
1998-04-25 18:32:11 +00:00
troy
e6ae1b0bcb
Added mOverflow to nsStylePosition
1998-04-25 04:07:18 +00:00
karnaze
8ebdcf5a79
enabled text area
1998-04-24 22:27:07 +00:00
karnaze
3943ad1a15
added radio groups, select/option, beter sizing. widgets take creation parms.
1998-04-24 21:37:30 +00:00
buster
58bd0f2550
even better pagination. Tables with small captions can split, and
...
simple tables with big cells can split the cell (and it's row)
1998-04-24 20:59:44 +00:00
kipp
ad25b5147a
Put generated source into the right directory
1998-04-24 19:56:36 +00:00
kipp
f63073c257
updated scripts to work properly
1998-04-24 19:56:23 +00:00
kipp
238d4e2bc3
added new properties
1998-04-24 19:56:09 +00:00
kipp
b0be7ae060
latest props
1998-04-24 19:55:53 +00:00
troy
800accf63a
Added mZIndex to nsStylePosition. Absolutely positioned code now passed
...
it along to view system
1998-04-24 18:34:31 +00:00
troy
2adf9e6718
Added more position properties and removed some stuff from nsStyleMolecule
1998-04-24 03:50:38 +00:00
troy
3ccc988201
Fixed PROP_HEIGHT to use VARIANT_KLP (was using VARIANT_KL)
1998-04-24 02:43:42 +00:00
buster
ca3ae5f05c
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.
1998-04-23 22:59:07 +00:00
troy
ab92c500db
More work on absolute positioning
1998-04-23 22:38:52 +00:00
michaelp
bf7e14549f
removed conditional calling of view->SetDimensions() in SizeTo().
1998-04-23 21:51:03 +00:00
scullin
660fadbded
Fix abiguous null test for smart pointers.
1998-04-23 19:08:21 +00:00
buster
9481637fae
table header and footer rowgroups placed properly, replicated across continuing tables
...
some pagination fixes, including a hack to make negative available heights = 1.
1998-04-23 17:29:07 +00:00
buster
ac6d7c116e
fixed a bug where a case during pagination wasn't being tested correctly
1998-04-23 17:22:46 +00:00
buster
742a6deb6f
added style for HTML 4 table elements and TH
1998-04-23 17:19:21 +00:00
kipp
87e6585798
nuked ref to line layout
1998-04-23 17:09:16 +00:00
kipp
59359e73b4
define win32_lean_and_mean
1998-04-23 16:47:26 +00:00
troy
2c0ca536fc
More CSS position work
1998-04-23 15:39:48 +00:00
troy
55632fc7af
Added nsStylePosition
1998-04-22 23:29:01 +00:00
troy
4366741d31
Starting to pay attention to CSS positioning properties
1998-04-22 23:28:39 +00:00
troy
42943b6cf9
Setting up style for CSS positioning
1998-04-22 23:28:02 +00:00
kipp
7c7a203367
Added in support for select/option
1998-04-22 23:24:43 +00:00
kipp
6ebed4fba7
support textarea tag; some support for custom form managers
1998-04-22 22:12:24 +00:00
kipp
e74c50762c
snapshot
1998-04-22 22:11:52 +00:00
kipp
27661d8656
Disable noisy blink
1998-04-22 22:11:21 +00:00
troy
9b866ce254
Fixed some bustage
1998-04-22 18:15:48 +00:00
troy
fdf2b8c3d4
HackStyleFor no longer sets positionFlags
1998-04-22 16:07:27 +00:00
troy
4ef6f63491
Work in progress on absolutely positioned elements
1998-04-22 16:06:21 +00:00
troy
a8289fdc8d
Initial check-in
1998-04-22 15:59:33 +00:00
troy
0d6273942a
Added support for CSS 'position' property
1998-04-22 15:46:53 +00:00
troy
76caee5967
Fixed a problem in SelectorMatches() that was causing id-based selectors
...
to always match
1998-04-22 15:43:46 +00:00
peterl
2de9fe5685
Switch to nsIPtrs to eliminate leaks (and to test them)
...
added debug code for ref counts
1998-04-22 06:41:10 +00:00
peterl
eac03aa3af
WIP moving margin, border & padding out of nsStyleMolecule
...
added debug code to track ref counts
1998-04-22 06:40:21 +00:00
peterl
6421bec370
WIP moving margin, border & padding out of nsStyleMolecule
1998-04-22 06:39:35 +00:00
peterl
6e70ca342d
Switch to nsIPtr for style context ptrs to eliminate leaks
1998-04-22 06:39:00 +00:00
peterl
41fcec6088
added ref counting debug code
1998-04-22 06:38:31 +00:00
peterl
c6fc3d1e32
WIP moving margin, border & padding out of nsStyleMolecule
...
Switch to nsIPtr for style context ptrs to eliminate leaks
1998-04-22 06:37:57 +00:00
peterl
730fbbc6d6
moved border out of nsStyleMolecule
1998-04-22 06:36:28 +00:00
peterl
83bb132b05
WIP moving border, margin & padding out of nsStyleMolecule
1998-04-22 06:33:35 +00:00
peterl
065043c183
made GetStyleContext work with a null pres context
1998-04-22 06:32:55 +00:00
peterl
fdc0e3f023
WIP removing border, margin & padding from nsStyleMolecule
1998-04-22 06:32:17 +00:00
troy
73a2d89927
Changed space manager to pass in the frame that's associated with a block
...
of unavailable space
1998-04-21 23:06:41 +00:00
scullin
2edcb9609d
Fix release mode bustage.
1998-04-21 18:25:52 +00:00
buster
e94974f380
THEAD and TFOOT tags enabled
1998-04-21 16:36:46 +00:00
troy
2e70be499e
Fixed column's incremental reflow function to properly handle margins
1998-04-21 04:27:34 +00:00
troy
7a352e2518
Made sure pseudo frames get a top and bottom margin of 0
1998-04-21 03:16:11 +00:00
peterl
365c3a7d93
added spacing and border structs
1998-04-21 00:02:44 +00:00
troy
38fe177725
Changed the space manager interface to return trapezoids instead
...
of rects
1998-04-20 23:53:47 +00:00
buster
073e82f152
table performance and minor bug fixes.
1998-04-20 22:49:15 +00:00
troy
e8b3026775
Fixed problem of hitting an assert when encountering an incomplete
...
frame when reflowing appended children
1998-04-20 20:24:25 +00:00
troy
cfd0fcd45e
Changed to using continuing frames for runaround of left/right floaters
1998-04-20 19:56:35 +00:00
troy
c0472e2aff
Changed to get nsIRunaround directly rather than use ReflowChild()
1998-04-20 19:55:45 +00:00
troy
aee599dd97
Made it so that continuing frames have a top margin of 0
1998-04-20 04:37:49 +00:00
troy
fddbbebe51
Commented out the hack that explicitly set the P top margin since that's
...
now handled using CSS
1998-04-19 05:06:41 +00:00
troy
6ca816beb6
Added code to handle CSS margin properties
1998-04-18 22:16:37 +00:00
troy
c08ecb911c
Fixed a problem where mLastContentIsComplete wasn't getting set right
...
for block-level elements
1998-04-18 22:06:05 +00:00
troy
3c1512e523
Fixed a bug I introduced in the previous checkin
1998-04-18 05:03:04 +00:00
troy
e1e6d470ff
Changed IsSplittable to have three return values
1998-04-17 23:08:20 +00:00
troy
aa8a71ede0
Cleaned up some logic
1998-04-17 01:47:21 +00:00
troy
3ce8e88882
Changed nsIFrame member functions to return a nsresult
1998-04-17 01:41:24 +00:00
buster
d825ba1dfe
removed noisy debug
1998-04-16 22:25:09 +00:00
peterl
066232b1c2
added a style hack to get P align attributes to work again
1998-04-16 22:21:45 +00:00
buster
d7f07f5ef7
simple tables now paginate nicely. Some more complex tables
...
also paginate ok, though resizing in paginated mode doesn't work yet.
Captions still don't work.
1998-04-16 22:21:32 +00:00
peterl
74502df8bb
fix leaks
1998-04-16 21:51:16 +00:00
peterl
8c95a33726
fix memory leaks
1998-04-16 21:49:49 +00:00
rickg
862b939ed1
added 'marker-style' entities and fixed a few bugs
1998-04-16 08:18:15 +00:00
dario
21730dc654
doc
1998-04-15 18:55:21 +00:00
michaelp
150ac682db
fixed bug where we would double paint any frame that had a view.
1998-04-14 21:49:29 +00:00
buster
d3269eec0c
documentation changes
1998-04-14 21:45:28 +00:00
dario
7d682091cd
fixing text to be proper terminated
1998-04-14 19:05:09 +00:00
karnaze
fa53c1d05a
added doc++ comments
1998-04-14 16:53:16 +00:00
scullin
c706c01f42
IRIX build fixes.
1998-04-14 01:56:50 +00:00
kipp
118f0d6466
pubbed
1998-04-13 21:23:46 +00:00
kipp
29d92261b7
another makefile tweak
1998-04-13 21:08:14 +00:00
kipp
98505cde5e
Repaired build problems w/ layout/base dependencies
1998-04-13 20:56:42 +00:00
kipp
098bef52b4
moved to pub
1998-04-13 20:24:54 +00:00