kipp
2eceaceee2
Cast lineReflowStatus before comparing for negative values!; eliminated unused variables
1998-05-13 00:11:51 +00:00
kipp
f926f04a0b
Eliminate anonymous struct (and useless bitfields) to fix irix compilation problem
1998-05-13 00:10:35 +00:00
kipp
a56175b972
Export nsIFrameImageLoader too
1998-05-13 00:10:06 +00:00
kipp
6433e66bdc
Fixed vertical alignment bug: lines that contained bottom aligned objects would add in too much height
1998-05-12 23:53:37 +00:00
kipp
21bdb6a41c
Removed dead code
1998-05-12 23:52:45 +00:00
kipp
5f6c659450
Use code in nsHTMLImageLoader to share code and fix image bugs in image buttons; removed some tabs in the source; get image border handled right
1998-05-12 23:52:33 +00:00
kipp
cff0f74180
Removed special code for mWidth/mHeight handling
1998-05-12 23:51:46 +00:00
kipp
432fe2b0c5
Removed mWidth and mHeight; use base class handling of that now
1998-05-12 23:51:30 +00:00
kipp
245009e879
Removed IMG rule
1998-05-12 23:51:09 +00:00
kipp
13d6a1b006
Make image borders work when html attribute is defined
1998-05-12 23:50:54 +00:00
kipp
e8951cc3fd
Use nsHTMLImageLoader to share code
1998-05-12 23:50:28 +00:00
kipp
df1f69f0cd
Moved margin code into line layout
1998-05-12 23:49:40 +00:00
kipp
0f25b685df
Removed left/right margin calc as caller is doing it
1998-05-12 23:48:37 +00:00
kipp
eae3bc823b
new
1998-05-12 23:48:11 +00:00
kipp
6a762cbfff
Added methods to invalidate the caches
1998-05-12 23:47:50 +00:00
scullin
b2eff2b481
Release mode fix.
1998-05-12 23:32:59 +00:00
troy
6b461310f7
Space manager API change
1998-05-12 23:02:47 +00:00
troy
2f7c5e2ad6
Changed API
1998-05-12 23:02:14 +00:00
troy
224249091a
Added new member functions
1998-05-12 23:02:02 +00:00
peterl
a74065d6fc
sync to nsStyleSpacing api changes
1998-05-12 22:58:14 +00:00
peterl
b1e4b9dddd
added proper support for border padding & margin
...
better support for clip
1998-05-12 22:57:52 +00:00
peterl
8993ed1907
added clip inherit support
...
added line-height number support
1998-05-12 22:56:18 +00:00
peterl
9bc80be166
sync to new spacing apis
1998-05-12 22:28:01 +00:00
peterl
36e6db6dfd
fixed clip rect handling (auto side support)
1998-05-12 22:26:59 +00:00
peterl
1b9417b6fa
added table enums
...
added clip flags
1998-05-12 22:25:31 +00:00
peterl
4abbba9368
added factor unit
...
added nsStyleSides
1998-05-12 22:24:12 +00:00
peterl
0822939f9d
merged nsStyleBorder & nsStyleSpacing
...
changed spacing data to use nsStyleSides
removed virtual methods
added nsStyleTable
1998-05-12 22:23:13 +00:00
peterl
8f0b181a70
Merged nsStyleBorder & nsStyleSpacing
...
changed spacing values o use nsStyleSides
removed virtual methods
1998-05-12 22:21:03 +00:00
peterl
c66846cbf8
added factor unit type
...
added nsStyleSides
1998-05-12 22:18:42 +00:00
karnaze
1f1e724312
textarea sizing improvement; use nsCSSLayout::GetStyleSize; fix combo box SizeTo
1998-05-12 18:28:58 +00:00
troy
806c07cc37
Removed some temporary code that isn't needed now that content changed
...
reflow commands aren't generated for the body
1998-05-12 04:46:27 +00:00
troy
8f2db5dfa6
Changed enum to conform with coding standards
1998-05-12 04:38:23 +00:00
troy
5b69e1f043
Change to nsIFrame API
1998-05-12 04:17:56 +00:00
kipp
c0cb1cb79c
Release image loader during delete frame to break so that images shutdown properly
1998-05-12 01:32:30 +00:00
kipp
e8cd7381c4
Added container methods for the singly contained frame
1998-05-12 01:31:22 +00:00
kipp
a5887e310b
Init band data so that zero is returned on failure
1998-05-12 01:30:57 +00:00
kipp
8ad0fdc600
Re-installed the temporary content appended hack
1998-05-12 01:30:40 +00:00
kipp
d0ae47e340
Pass on stop image load to the image loader too so that circular references can be broken and memory can get released properly
1998-05-12 01:30:15 +00:00
kipp
b58d55a356
Removed unused variables and methods
1998-05-12 01:29:43 +00:00
kipp
7004a73082
Implement stop and abort; stop properly breaks circular link to image request
1998-05-12 01:29:29 +00:00
kipp
9f9c04ca2b
Declare stop and abort methods
1998-05-12 01:28:51 +00:00
kipp
f66e300932
Added stop and abort methods
1998-05-12 01:28:31 +00:00
kipp
e7b30a6c52
Make url's absolute per the css spec
1998-05-11 23:28:47 +00:00
kipp
df41bc56dd
Skip over whitespace properly after url string (it's optional whitespace not mandatory whitespace)
1998-05-11 23:28:22 +00:00
kipp
619471fc16
Use new image loading API's
1998-05-11 22:58:20 +00:00
kipp
4bd1b3a848
Revised image loading API's
1998-05-11 22:57:05 +00:00
kipp
4542f9f903
Removed image loading code (factored out into nsFrameImageLoader); revised API for image loading
1998-05-11 22:56:58 +00:00
kipp
0eb99d9f58
Added nsFrameImageLoader
1998-05-11 22:56:23 +00:00
kipp
0175c0420c
Export nsIFrameImageLoader.h
1998-05-11 22:55:54 +00:00
kipp
8fa5204d63
new
1998-05-11 22:52:40 +00:00
troy
341b30497d
Changed table code to pay attention to the ALIGN attribute
1998-05-11 21:31:12 +00:00
troy
8c077bc14e
Fixed build bustage
1998-05-11 21:03:50 +00:00
troy
9f30b1be63
Wrapped VerifyLines() inside of a NS_DEBUG #define
1998-05-11 18:54:15 +00:00
troy
71191f123b
More incremental reflow work.
1998-05-11 18:38:10 +00:00
troy
e0a3f308d8
Work in progress on block incremental reflow
1998-05-09 03:52:29 +00:00
kipp
e09e86128b
Use new LoadImage API
1998-05-09 03:23:54 +00:00
kipp
c0a8fa1cf2
Removed uneeded code; added a reminder comment
1998-05-09 03:23:41 +00:00
kipp
46b1b4e39c
Cheesy implementation of the reflow lock and content appended
1998-05-09 03:22:41 +00:00
kipp
5fdc67cce5
Updated to new API
1998-05-09 03:22:14 +00:00
kipp
d2e721ddd9
Reworked load image support and provided content changed calls to the shell when image sizes arrive
1998-05-09 03:22:01 +00:00
kipp
2cc285c48b
Added enter/exit reflow lock methods
1998-05-09 03:21:34 +00:00
kipp
7e5dd2d493
Revised LoadImage API to use NS_IMETHOD and provide alot more information about the load
1998-05-09 03:21:19 +00:00
karnaze
889f0f8dfc
select/option
1998-05-08 23:08:43 +00:00
kipp
2358c691b7
Fixed irix bustage
1998-05-08 21:12:12 +00:00
karnaze
34036a5a0f
more support for textarea, select/option in content sink
1998-05-08 20:18:06 +00:00
kipp
0d53091613
Fixed pseudo-frame body behavior
1998-05-08 19:43:25 +00:00
rods
1d7ce79a12
added major selection method and data members
1998-05-08 18:33:42 +00:00
kipp
b1ed07ef22
Factored out sizing into ComputeDesiredSize and fixed the size to reflect the size of the content
1998-05-08 17:23:06 +00:00
troy
f6213badc1
Changed container related functions to return NS_ERROR_NOT_IMPLEMENTED
...
instead of NS_OK
1998-05-08 17:02:35 +00:00
troy
4bbddb48b7
Moved ContentChanged() logic to nsFrame since it was completely generic and
...
serves as reasonable default behavior for all frames
1998-05-08 16:34:27 +00:00
troy
d555488943
Changed ContentChanged() to generate a reflow command
1998-05-08 16:33:07 +00:00
rods
e80f937688
added Selection methods to nsICodment, nsDocument, nsiSplittableFRame
1998-05-08 15:07:41 +00:00
troy
684762559e
Hooked up ContentChanged() to notify the frame
1998-05-08 04:59:35 +00:00
troy
fb1fbe4c8e
Added ContentChanged() member function
1998-05-08 04:56:47 +00:00
troy
b3c5708bd1
Added ContentChanged() member function
1998-05-08 04:45:37 +00:00
kipp
11e716aea5
Support width/height ala css
1998-05-08 00:16:41 +00:00
kipp
19544f758c
Added MapImagePropertiesInto
1998-05-08 00:16:30 +00:00
kipp
738091f8a0
Support css width&height style properties
1998-05-07 23:38:51 +00:00
kipp
70cbd2cbe5
Unsupported border+padding around form elements (except for image - it still works)
1998-05-07 23:38:12 +00:00
kipp
a14e3f23b2
Support width & height ala css1
1998-05-07 21:50:56 +00:00
kipp
ac0eeca995
order sid's alphabeticly
1998-05-07 21:36:41 +00:00
kipp
d0f22851eb
Added GetStyleSize
1998-05-07 21:36:16 +00:00
kipp
5a5b088cad
Set clip rect if style says to
1998-05-07 21:35:03 +00:00
rickg
7c9580a233
new contentsink api's for kipp
1998-05-07 21:11:07 +00:00
troy
bbd8179798
Work in progress
1998-05-07 21:10:07 +00:00
troy
48ae839cb0
Started hooking up appended content handler
1998-05-07 20:28:16 +00:00
kipp
69577ae0b7
Support (mostly) border+padding around input form elements
1998-05-07 16:13:59 +00:00
kipp
c60883d207
Fixed the dancing form-elements bug by making MoveTo properly account for the views offset from parent
1998-05-07 16:13:09 +00:00
troy
b5f329f71c
Work on getting floaters working again
1998-05-07 05:25:08 +00:00
kipp
6188f684ea
Implemented destroy-lines
1998-05-07 03:45:29 +00:00
troy
b0d0f5e059
Checks whether the next-in-flow should be deleted
1998-05-07 02:51:30 +00:00
kipp
519a6403a4
Ported to new CreateFrame/CreateContinuingFrame APIs
1998-05-07 00:08:20 +00:00
kipp
4d3606cbbc
Ported to new CreateFrame/CreateContinuingFrame APIs; removed some debris code
1998-05-07 00:06:53 +00:00
kipp
04ca90d1da
Updated style sheet
1998-05-07 00:06:15 +00:00
kipp
f8bff82f91
Changed CreateContinuingFrame to take a style context argument to reduce style context creation
1998-05-07 00:05:37 +00:00
kipp
e03db2b516
Updated CreateFrame to take a style context argument to reduce style context creation
1998-05-07 00:05:13 +00:00
troy
02e5832c88
Started adding ContentChanged() notifications
1998-05-06 16:28:55 +00:00
troy
a84baf1f3c
Hooked up DOM insert/replace/delete
1998-05-06 16:27:15 +00:00
troy
d477d86672
Frames no longet store the content index-in-parent
1998-05-05 23:56:50 +00:00
troy
519b12bffe
Work in progress for inserted incremental reflow
1998-05-05 04:47:53 +00:00
troy
9fe7339f4c
Fixed my build bustage
1998-05-04 22:50:13 +00:00
troy
4789d6cab9
Implemented DOM document's createTextNode() function, and changed insertBefore()
...
handler to allow refChild to be null
1998-05-04 20:34:37 +00:00
troy
90c5a32479
Added ContentInserted handler
1998-05-04 18:32:12 +00:00
troy
7d8404bbe3
Work in progress for incremental reflow (insert)
1998-05-04 17:54:45 +00:00
troy
a388f68a46
Added ComputeDesiredRect() to share some common code between DoResizeReflow()
...
and IncrementalReflow()
1998-05-03 04:57:29 +00:00
troy
04137907dc
Made sure to set previous bottom margin when restoring reflow state
1998-05-03 04:37:56 +00:00
troy
2e798d9c4f
Fixed a problem with mY not being updated properly for a bottom
...
margin
1998-05-03 04:16:13 +00:00
troy
2f24fca2a7
Removed ColumnFrame from the build
1998-05-03 04:00:37 +00:00
troy
b6217c70a6
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
499bc07a3f
Set ascent/descent information so that vertical alignment works better
1998-05-02 02:04:00 +00:00
kipp
ae538db0c7
BR's are inline and cyan (if they are rendering)
1998-05-02 00:56:55 +00:00
kipp
fa2e5e968b
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
ee76c81742
Fixed default background repeat bug
1998-05-02 00:55:29 +00:00
kipp
2b63b1ff15
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
3d1d6e2dc4
Added WillDeleteNextInFlowFrame to allow for deletion pre-processing by container frames
1998-05-02 00:54:12 +00:00
kipp
2c54f1bfe8
Updated
1998-05-02 00:40:25 +00:00
karnaze
0af793f7f1
added <input type=image>, fixed bug where multiple submit buttons sent data
1998-05-01 23:18:44 +00:00
kostello
8f901ec3a2
Cleaned up getting attribute values
1998-05-01 21:55:36 +00:00
kostello
00e5e615d4
Made SetStyleContext take the presentation context as a parameter
1998-05-01 20:45:15 +00:00
kostello
150ca7f331
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
3c9c1ac4e0
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
a5c40d6b25
* 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
f9d512df9f
nsSelectionRange.h is required by nsISelection.h
1998-05-01 05:56:08 +00:00
rpotts
11bc3a6660
nslayout.h is *all* lower case
1998-05-01 05:55:11 +00:00
rpotts
8079b4ef67
added netlib to the include path...
1998-05-01 05:07:25 +00:00
rpotts
7063ac1b21
added the netlib import library...
1998-05-01 05:00:44 +00:00
michaelp
46a1090996
added missing NS_RELEASE() after calling GetWidget().
1998-05-01 03:09:53 +00:00
michaelp
20cd160d8d
added missing NS_RELEASE() after getting a window in the cursor setting code.
1998-05-01 03:09:07 +00:00
kipp
1c28e03068
new
1998-04-30 23:32:32 +00:00
peterl
257cc56544
update to new value class api
1998-04-30 19:57:36 +00:00
peterl
1379c574d2
added new unit types, cleaned up api
1998-04-30 19:56:39 +00:00
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