troy
9ae1d79f61
Work in progress for incremental reflow (insert)
1998-05-04 17:54:45 +00:00
troy
38acdd1740
Added ComputeDesiredRect() to share some common code between DoResizeReflow()
...
and IncrementalReflow()
1998-05-03 04:57:29 +00:00
troy
7b7acfc81c
Made sure to set previous bottom margin when restoring reflow state
1998-05-03 04:37:56 +00:00
troy
855a687477
Fixed a problem with mY not being updated properly for a bottom
...
margin
1998-05-03 04:16:13 +00:00
troy
4c182aadd1
Removed ColumnFrame from the build
1998-05-03 04:00:37 +00:00
troy
df86871d93
Changed body to create block pseudo-frame instead of a column pseudo frame,
...
and hooked up the reflow appended code
1998-05-03 03:51:48 +00:00
kipp
7247d62207
Set ascent/descent information so that vertical alignment works better
1998-05-02 02:04:00 +00:00
kipp
6ce278f678
BR's are inline and cyan (if they are rendering)
1998-05-02 00:56:55 +00:00
kipp
1dfce13cc2
Spanked nsBlockFrame: newly rewritten, broken into two pieces (see nsLineLayout.h,.cpp for the line layout code)
1998-05-02 00:56:24 +00:00
kipp
21e1b3a406
Fixed default background repeat bug
1998-05-02 00:55:29 +00:00
kipp
462a5a6943
Stub for WillDeleteNextInFlowFrame; call it during DeleteChildNextInFlows; fixed up ReflowChild spacemanager version to not mess with the availSize when talking to a space manager cognizant child
1998-05-02 00:55:11 +00:00
kipp
1879c7a961
Added WillDeleteNextInFlowFrame to allow for deletion pre-processing by container frames
1998-05-02 00:54:12 +00:00
kipp
aef76fa930
Updated
1998-05-02 00:40:25 +00:00
karnaze
e5587e4c8c
added <input type=image>, fixed bug where multiple submit buttons sent data
1998-05-01 23:18:44 +00:00
kostello
03c8ac93bc
Cleaned up getting attribute values
1998-05-01 21:55:36 +00:00
kostello
4e4c9a7c30
Made SetStyleContext take the presentation context as a parameter
1998-05-01 20:45:15 +00:00
kostello
29c14092b2
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
f7b27f2578
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
kostello
3828837d71
* 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:02 +00:00
rpotts
7f503d5338
nsSelectionRange.h is required by nsISelection.h
1998-05-01 05:56:08 +00:00
rpotts
acd5513420
nslayout.h is *all* lower case
1998-05-01 05:55:11 +00:00
rpotts
374ac13e18
added netlib to the include path...
1998-05-01 05:07:25 +00:00
rpotts
eec2c87f98
added the netlib import library...
1998-05-01 05:00:44 +00:00
michaelp
e71ffe42ec
added missing NS_RELEASE() after calling GetWidget().
1998-05-01 03:09:53 +00:00
michaelp
50d60e5f6c
added missing NS_RELEASE() after getting a window in the cursor setting code.
1998-05-01 03:09:07 +00:00
kipp
573023df7a
new
1998-04-30 23:32:32 +00:00
peterl
28e3d1856a
update to new value class api
1998-04-30 19:57:36 +00:00
peterl
1cbc581d30
added new unit types, cleaned up api
1998-04-30 19:56:39 +00:00
peterl
ede73bb36a
updated to new value class api
1998-04-30 19:55:51 +00:00
peterl
304a1573f2
removed include
1998-04-30 19:53:05 +00:00
peterl
6e63d78644
changed api, added new units
1998-04-30 19:52:46 +00:00
peterl
82f09e3453
changed to nsStylePosition to use nsStyleCoord
1998-04-30 19:52:26 +00:00
peterl
2575c3e7fd
removed style position value, added cursor auto
1998-04-30 19:51:52 +00:00
peterl
121efdeb0f
updated api, added new units
1998-04-30 19:50:36 +00:00
peterl
e972371ddf
changed nsStypePosition to use nsStyleCoord
1998-04-30 19:50:18 +00:00
rods
bd70983046
initial
1998-04-30 19:15:05 +00:00
rods
8e56c8456a
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
247c6270e6
fixed method names
1998-04-30 18:04:16 +00:00
buster
79e0e38684
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
a4129d5f23
turned off selection
1998-04-30 16:13:01 +00:00
buster
6c340cf32f
fixed a rounding error, and made tables quiet
1998-04-30 15:20:23 +00:00
michaelp
c44715a002
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
c89aa6d95d
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
0a3102284e
removed unneeded destructors
...
cleaned up some initial values
1998-04-29 21:06:15 +00:00
peterl
159b9dacbb
added normal value
1998-04-29 21:05:28 +00:00
peterl
2024e83fbb
removed unneeded destructors
1998-04-29 21:04:57 +00:00
rpotts
eced657cf7
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
2ba6959e2c
Fixed Unix Build Error -- nsCoord.h must be case sensitive
1998-04-29 18:39:30 +00:00
karnaze
c39523c9c0
ifdefed MapAttributesInto
1998-04-29 17:27:44 +00:00
karnaze
fb01e9bb7d
ifdefed style sizing code
1998-04-29 17:14:24 +00:00
rods
bda1d7b02a
initial check in
1998-04-29 17:08:57 +00:00
karnaze
e2dd2d5163
minor cleanup, reinstate css sizing.
1998-04-29 16:30:55 +00:00
michaelp
c1742af35d
more cliprect api changes...
1998-04-29 02:24:07 +00:00
troy
f4c0f974bb
Changed space manager to return a list of available and unavailable trapezoids
1998-04-29 00:58:16 +00:00
peterl
e680905372
changed nsStyleText to use nsStyleCoord
1998-04-28 23:57:01 +00:00
peterl
e7b269d828
removed inheritance from style mapping
...
changed nsStyleText to use nsStyleCoord
1998-04-28 23:56:28 +00:00
peterl
3545f4e831
added nsStyleCoord
1998-04-28 23:54:06 +00:00
peterl
72a58411f2
added subclass hook for style post-processing
1998-04-28 23:25:07 +00:00
kostello
0521526b48
Call to RecalcLayoutData
1998-04-28 22:44:05 +00:00
kostello
e6dc748005
Updated table to process cellpadding, cellspacing and background color
...
attributes
1998-04-28 22:43:19 +00:00
kostello
f0ce171f26
Name changed from ResetColumnLayoutData to RecalcColumnLayoutData
1998-04-28 22:41:25 +00:00
kostello
ba5e25b37b
Added SetTableForChildren to set the children's table instance variable
1998-04-28 22:40:22 +00:00
kostello
923e852d77
Added MapHTMLBorderStyle, MapBorderMarginPaddingInto
1998-04-28 22:34:16 +00:00
troy
7fcce0e743
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
dcd4451871
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
0aaeba3e9b
fix submit crash in nsWindow; more form control functionality
1998-04-28 18:59:38 +00:00
kipp
0aca6d71bf
Correctly compute width of body frame
1998-04-28 16:12:54 +00:00
kipp
9c9549a2f1
Allow for optional commas between clip rect elements
1998-04-28 15:24:44 +00:00
kipp
a88fd6bfe1
updated
1998-04-28 15:24:20 +00:00
troy
2aae959115
Added mClip and mClipFlags to nsStylePosition
1998-04-28 03:21:18 +00:00
buster
b03d7357dd
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
4ec6283dbb
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
11bd0397f6
Implement all of the text styles; update to use PERCENT in naming of style constants
1998-04-27 21:26:06 +00:00
kipp
b28f6f8258
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
4037b259df
Normalize structure member names
1998-04-27 21:24:06 +00:00
kipp
8d8dab67b5
Use PERCENT style constants instead of PCT
1998-04-27 21:22:06 +00:00
kipp
cd2d1fca8e
Init nsStyleText values using new nsStyleValue
1998-04-27 21:21:42 +00:00
kipp
706d9ecb49
Cleaned up percent names
1998-04-27 21:20:24 +00:00
kipp
7c6362636b
Added nsStyleValue and then updated nsStyleText to use it
1998-04-27 21:19:45 +00:00
rods
a441d625bf
started adding selection
1998-04-27 16:44:52 +00:00
kipp
33bd81ad75
new
1998-04-27 15:43:09 +00:00
kipp
063c7a9abd
Removed hack
1998-04-27 15:39:58 +00:00
troy
4d967a673b
Added function to set a trapezoid's shape based on a rectangle
1998-04-27 03:35:05 +00:00
kipp
096465ba4b
Get cursor properly
1998-04-26 03:47:53 +00:00
kipp
38416b1028
Added in cursor and direction properties
1998-04-26 03:47:37 +00:00
kipp
6e81a203c7
Add in cursors
1998-04-26 03:47:06 +00:00
kipp
972bb14db7
Always return ibeam cursor for text
1998-04-26 03:46:51 +00:00
kipp
7d55b24b03
Added inherit for direction style
1998-04-26 03:46:26 +00:00
kipp
86764b175c
Fix porting bugs - made it compile on IRIX
1998-04-26 02:59:29 +00:00
kipp
6621a09942
Added keywords for cursors and direction
1998-04-26 02:59:02 +00:00
rickg
ff997823ad
update
1998-04-25 19:46:11 +00:00
kipp
acf5d69b34
new keywords
1998-04-25 19:11:20 +00:00
kipp
1767b4a8f8
Port to removal of nsStyleMolecule
1998-04-25 18:48:48 +00:00
kipp
7858c97484
Fixed a memory problem; implement align and border properties
1998-04-25 18:48:30 +00:00
kipp
3e8149f651
Port to removal of nsStyleMolecule; add in border support
1998-04-25 18:46:55 +00:00
kipp
b5a253fd63
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
051226c143
Implement borders, padding, text-align properties, display, etc. Fixed bug in list inheritance
1998-04-25 18:44:55 +00:00
kipp
a1062f035e
Updated to use new style constants
1998-04-25 18:44:17 +00:00
kipp
7207ba993f
Added support for more properties
1998-04-25 18:43:42 +00:00
kipp
7e340e0d25
updated
1998-04-25 18:41:41 +00:00
kipp
cb044e1968
Stop using nsStyleMolecule; fixed bug that led to missing spaces
1998-04-25 18:41:33 +00:00
kipp
36734f3ef9
Fixed up cursor handling; map align parameter
1998-04-25 18:40:47 +00:00
kipp
b5083a9b07
Removed nsStyleMolecule decl
1998-04-25 18:40:17 +00:00
kipp
9fd58ae134
Repaired cursor discovery logic to handle A tag oddities
1998-04-25 18:40:01 +00:00
kipp
f5e013b60d
new atoms
1998-04-25 18:39:16 +00:00
kipp
d6718b8dd3
Updated to new style constants
1998-04-25 18:37:29 +00:00
kipp
47d2590fc1
Stop building unused tags file
1998-04-25 18:34:02 +00:00
kipp
e6603fbd39
Implement nsStyleText, nsStyleDisplay; added cursors; removed hack code
1998-04-25 18:33:32 +00:00
kipp
8bc50dfc85
Tidy up style constants
1998-04-25 18:33:11 +00:00
kipp
edb906c274
Cleaned up the API
1998-04-25 18:32:59 +00:00
kipp
c1b2d798c8
Added nsStyleText, nsStyleDisplay; removed nsStyleMolecule and hack code; cleaned up a few others
1998-04-25 18:32:11 +00:00
troy
8b8a36182f
Added mOverflow to nsStylePosition
1998-04-25 04:07:18 +00:00
karnaze
e37717d211
enabled text area
1998-04-24 22:27:07 +00:00
karnaze
4364c856d4
added radio groups, select/option, beter sizing. widgets take creation parms.
1998-04-24 21:37:30 +00:00
buster
927efaa036
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
6528c92508
Put generated source into the right directory
1998-04-24 19:56:36 +00:00
kipp
ad7b05eb26
updated scripts to work properly
1998-04-24 19:56:23 +00:00
kipp
bd49cefb6d
added new properties
1998-04-24 19:56:09 +00:00
kipp
deffb550af
latest props
1998-04-24 19:55:53 +00:00
troy
e8efdaa3c6
Added mZIndex to nsStylePosition. Absolutely positioned code now passed
...
it along to view system
1998-04-24 18:34:31 +00:00
troy
6d930e9882
Added more position properties and removed some stuff from nsStyleMolecule
1998-04-24 03:50:38 +00:00
troy
3edf6508da
Fixed PROP_HEIGHT to use VARIANT_KLP (was using VARIANT_KL)
1998-04-24 02:43:42 +00:00
buster
48f12cd759
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
1e612802d7
More work on absolute positioning
1998-04-23 22:38:52 +00:00
michaelp
b1d1b906a1
removed conditional calling of view->SetDimensions() in SizeTo().
1998-04-23 21:51:03 +00:00
scullin
378a0cd5ea
Fix abiguous null test for smart pointers.
1998-04-23 19:08:21 +00:00
buster
92ffa0d48f
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
aca5f1f83e
fixed a bug where a case during pagination wasn't being tested correctly
1998-04-23 17:22:46 +00:00
buster
4ff4685dbe
added style for HTML 4 table elements and TH
1998-04-23 17:19:21 +00:00
kipp
d93d7220ba
nuked ref to line layout
1998-04-23 17:09:16 +00:00
kipp
01ab9174da
define win32_lean_and_mean
1998-04-23 16:47:26 +00:00
troy
aa7d0f6143
More CSS position work
1998-04-23 15:39:48 +00:00
troy
3ba9ae16ba
Added nsStylePosition
1998-04-22 23:29:01 +00:00
troy
3477ad0f5b
Starting to pay attention to CSS positioning properties
1998-04-22 23:28:39 +00:00
troy
568903a5d9
Setting up style for CSS positioning
1998-04-22 23:28:02 +00:00
kipp
28ac9e9218
Added in support for select/option
1998-04-22 23:24:43 +00:00
kipp
8988288b3b
support textarea tag; some support for custom form managers
1998-04-22 22:12:24 +00:00
kipp
ba3994c9d5
snapshot
1998-04-22 22:11:52 +00:00
kipp
236f0da00d
Disable noisy blink
1998-04-22 22:11:21 +00:00
troy
8c63963bdf
Fixed some bustage
1998-04-22 18:15:48 +00:00
troy
6a693cd797
HackStyleFor no longer sets positionFlags
1998-04-22 16:07:27 +00:00
troy
98001a329a
Work in progress on absolutely positioned elements
1998-04-22 16:06:21 +00:00
troy
b3af473a24
Initial check-in
1998-04-22 15:59:33 +00:00
troy
71631d79cd
Added support for CSS 'position' property
1998-04-22 15:46:53 +00:00
troy
0ea90de2c4
Fixed a problem in SelectorMatches() that was causing id-based selectors
...
to always match
1998-04-22 15:43:46 +00:00
peterl
66a1912794
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
17d1b9d01d
WIP moving margin, border & padding out of nsStyleMolecule
...
added debug code to track ref counts
1998-04-22 06:40:21 +00:00
peterl
b45f75c7cc
WIP moving margin, border & padding out of nsStyleMolecule
1998-04-22 06:39:35 +00:00
peterl
ffe8fffe19
Switch to nsIPtr for style context ptrs to eliminate leaks
1998-04-22 06:39:00 +00:00
peterl
dc64321aa5
added ref counting debug code
1998-04-22 06:38:31 +00:00
peterl
64cc4238d1
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
7343d44516
moved border out of nsStyleMolecule
1998-04-22 06:36:28 +00:00
peterl
b9de8ef7df
WIP moving border, margin & padding out of nsStyleMolecule
1998-04-22 06:33:35 +00:00
peterl
71f40ddc28
made GetStyleContext work with a null pres context
1998-04-22 06:32:55 +00:00
peterl
d217c90cfa
WIP removing border, margin & padding from nsStyleMolecule
1998-04-22 06:32:17 +00:00
troy
21b7d0a128
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
ac9ac64cb2
Fix release mode bustage.
1998-04-21 18:25:52 +00:00
buster
6378b17edb
THEAD and TFOOT tags enabled
1998-04-21 16:36:46 +00:00
troy
33156c179e
Fixed column's incremental reflow function to properly handle margins
1998-04-21 04:27:34 +00:00
troy
fc6732dae0
Made sure pseudo frames get a top and bottom margin of 0
1998-04-21 03:16:11 +00:00
peterl
69f50285b9
added spacing and border structs
1998-04-21 00:02:44 +00:00
troy
42f3d1a152
Changed the space manager interface to return trapezoids instead
...
of rects
1998-04-20 23:53:47 +00:00
buster
494d1f714f
table performance and minor bug fixes.
1998-04-20 22:49:15 +00:00
troy
c698570711
Fixed problem of hitting an assert when encountering an incomplete
...
frame when reflowing appended children
1998-04-20 20:24:25 +00:00
troy
ef8ffb4eb4
Changed to using continuing frames for runaround of left/right floaters
1998-04-20 19:56:35 +00:00
troy
ccfe33ed0a
Changed to get nsIRunaround directly rather than use ReflowChild()
1998-04-20 19:55:45 +00:00
troy
7c5818ac1f
Made it so that continuing frames have a top margin of 0
1998-04-20 04:37:49 +00:00
troy
e617812c67
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
ee9a9cab3d
Added code to handle CSS margin properties
1998-04-18 22:16:37 +00:00
troy
616900b4e4
Fixed a problem where mLastContentIsComplete wasn't getting set right
...
for block-level elements
1998-04-18 22:06:05 +00:00
troy
79a1be09d6
Fixed a bug I introduced in the previous checkin
1998-04-18 05:03:04 +00:00
troy
91a9babbf7
Changed IsSplittable to have three return values
1998-04-17 23:08:20 +00:00
troy
e285e45a5f
Cleaned up some logic
1998-04-17 01:47:21 +00:00
troy
d504fcfb0c
Changed nsIFrame member functions to return a nsresult
1998-04-17 01:41:24 +00:00
buster
aa3801157a
removed noisy debug
1998-04-16 22:25:09 +00:00
peterl
6fb3bcb3e6
added a style hack to get P align attributes to work again
1998-04-16 22:21:45 +00:00
buster
e9fef51c60
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
c839e3a447
fix leaks
1998-04-16 21:51:16 +00:00
peterl
76461eca1f
fix memory leaks
1998-04-16 21:49:49 +00:00
rickg
9c576dc904
added 'marker-style' entities and fixed a few bugs
1998-04-16 08:18:15 +00:00
dario
0df61ed795
doc
1998-04-15 18:55:21 +00:00
michaelp
5542eeba5e
fixed bug where we would double paint any frame that had a view.
1998-04-14 21:49:29 +00:00
buster
39b10e3604
documentation changes
1998-04-14 21:45:28 +00:00
dario
7452f1816e
fixing text to be proper terminated
1998-04-14 19:05:09 +00:00
karnaze
075757394d
added doc++ comments
1998-04-14 16:53:16 +00:00
scullin
c14e8a1fee
IRIX build fixes.
1998-04-14 01:56:50 +00:00
kipp
bc8c5300a4
pubbed
1998-04-13 21:23:46 +00:00
kipp
6ff26e3b6d
another makefile tweak
1998-04-13 21:08:14 +00:00
kipp
b18134c5e8
Repaired build problems w/ layout/base dependencies
1998-04-13 20:56:42 +00:00
kipp
4717009d75
moved to pub
1998-04-13 20:24:54 +00:00