thom
394804e4df
Mac checkin
1998-05-18 22:47:24 +00:00
peterl
3c44130d7a
added pseudo frame support
1998-05-18 21:11:08 +00:00
peterl
5a28a44c63
cleaned up list output
1998-05-18 21:10:44 +00:00
peterl
d017d2a20f
pseudo frame support
1998-05-18 21:10:19 +00:00
peterl
cf28024bc8
correct case of selectors
...
skip empty selectors
better pseudo-class support
1998-05-18 21:09:43 +00:00
peterl
2976d767a8
added pseudo element support
1998-05-18 21:07:54 +00:00
peterl
52fd4dfeed
fixed memory leak
...
fixed uninitialized memory read
1998-05-18 21:07:24 +00:00
peterl
6ab1e5bee0
added pseudo style support
1998-05-18 21:06:33 +00:00
peterl
8cb0400608
added pseudo style support
...
added debug list of context graph
1998-05-18 21:05:52 +00:00
peterl
12db5cfc8d
added debugging code
1998-05-18 21:04:26 +00:00
peterl
22531a1cee
fixed memory leak
1998-05-18 21:03:55 +00:00
peterl
d91757b5c8
added pseudo frame style support
1998-05-18 21:03:10 +00:00
peterl
963c761b8a
added list method
1998-05-18 21:02:49 +00:00
karnaze
8c00475342
fixed nsInputFile::SizeTo
1998-05-18 18:07:01 +00:00
kipp
be831d99f1
Print out state when non-zero
1998-05-18 16:53:09 +00:00
kipp
cfda8fbbf0
Call WillReflow before reflowing children
1998-05-18 16:52:57 +00:00
kipp
53e780d9cf
dump out state and next-in-flow/prev-in-flow conditionally
1998-05-18 16:52:41 +00:00
kipp
0316bc6bff
Implement DidReflow to pass it down to children when exiting reflow; dump out state and next-in-flow/prev-in-flow conditionally
1998-05-18 16:51:37 +00:00
kipp
33afc10ad1
Implement DidReflow to pass it down to children when exiting reflow
1998-05-18 16:51:17 +00:00
karnaze
2ec55336d9
initial support for <input type=file>, combo box use of widget init data for sizing
1998-05-18 16:39:42 +00:00
thom
195094f653
*** empty log message ***
1998-05-15 22:22:34 +00:00
kmcclusk
ad5302a8b5
Added widget specific init structs
1998-05-14 21:34:08 +00:00
kipp
f21fa327ea
nuked
1998-05-14 02:46:28 +00:00
kipp
bea090f624
Fixed up code that wasn't using the nsReflowStatus constants defined in nsIFrame.h
1998-05-14 00:49:46 +00:00
kipp
ad7b3ca94e
Removed some useless code
1998-05-14 00:49:11 +00:00
kipp
56a067f23a
Implement new frame methods and store the current state
1998-05-14 00:47:32 +00:00
kipp
87861be535
Flipped state value of NS_FRAME_COMPLETE with NS_FRAME_NOT_COMPLETE; added new methods WillReflow and DidReflow as well as GetFrameState and SetFrameState
1998-05-14 00:47:05 +00:00
peterl
cbb5bab76b
added HTML CSS style sheet (for STYLE= attributes)
1998-05-13 23:43:44 +00:00
peterl
c987b58eea
added style atom
1998-05-13 23:42:40 +00:00
peterl
344a1920c3
added HTML CSS style sheet
1998-05-13 23:42:18 +00:00
peterl
295b3beff6
renamed getSupportsValue to getISupportsValue
1998-05-13 23:42:01 +00:00
peterl
db47f9eb0d
attribute fix for kostello
1998-05-13 22:41:15 +00:00
peterl
9b327283f0
fixed bug in parse declaration block, we now discard empty declarations
...
tweaked position
1998-05-13 22:40:54 +00:00
peterl
197d50c4d7
fixed position
1998-05-13 22:40:17 +00:00
peterl
d4e610703a
remove spacing cache invalidate
1998-05-13 22:39:41 +00:00
peterl
f591955d94
connected spacing calculations to frame
1998-05-13 22:38:54 +00:00
peterl
738cbd2013
fixed style position values
1998-05-13 22:38:37 +00:00
peterl
af91e8a55f
added style size calculation methods
...
made get style data const
1998-05-13 22:38:09 +00:00
peterl
0b5660bc1a
removed cache invalidation methods
1998-05-13 22:35:30 +00:00
michaelp
f206060f3d
added gamma correction methods to the device context. the windows rendering context now
...
gamma corrects colors. fixed tablecellframe to call the right nsStyleCoord constructor.
1998-05-13 18:15:06 +00:00
karnaze
13b5043578
more select/option support
1998-05-13 17:43:35 +00:00
troy
0b813ad3e7
Changes to space manager implementation.
1998-05-13 16:22:44 +00:00
kipp
893b7a8d7e
Fixed coord to be setup properly
1998-05-13 00:33:34 +00:00
kipp
07ed999729
Fixed ptr compilation bug
1998-05-13 00:13:09 +00:00
kipp
8060bedbd5
Removed unused variable
1998-05-13 00:12:54 +00:00
kipp
c29621e9c1
Removed unused variable; fixed assingment into error return status
1998-05-13 00:12:40 +00:00
kipp
a34356a113
Cast lineReflowStatus before comparing for negative values!; eliminated unused variables
1998-05-13 00:11:51 +00:00
kipp
155bd31586
Eliminate anonymous struct (and useless bitfields) to fix irix compilation problem
1998-05-13 00:10:35 +00:00
kipp
495050c6cc
Export nsIFrameImageLoader too
1998-05-13 00:10:06 +00:00
kipp
7353bb57bd
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
2fc5b6839a
Removed dead code
1998-05-12 23:52:45 +00:00
kipp
73ff3a9f97
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
f6952c5405
Removed special code for mWidth/mHeight handling
1998-05-12 23:51:46 +00:00
kipp
77c2eed8bc
Removed mWidth and mHeight; use base class handling of that now
1998-05-12 23:51:30 +00:00
kipp
b417c5623b
Removed IMG rule
1998-05-12 23:51:09 +00:00
kipp
d6c1f362a7
Make image borders work when html attribute is defined
1998-05-12 23:50:54 +00:00
kipp
5c7d1d4f3a
Use nsHTMLImageLoader to share code
1998-05-12 23:50:28 +00:00
kipp
30c8f7a0cb
Moved margin code into line layout
1998-05-12 23:49:40 +00:00
kipp
f1ee16ea19
Removed left/right margin calc as caller is doing it
1998-05-12 23:48:37 +00:00
kipp
96f40d3e47
new
1998-05-12 23:48:11 +00:00
kipp
f25d7acd21
Added methods to invalidate the caches
1998-05-12 23:47:50 +00:00
scullin
711c0484c4
Release mode fix.
1998-05-12 23:32:59 +00:00
troy
1ac145e853
Space manager API change
1998-05-12 23:02:47 +00:00
troy
63fe378e13
Changed API
1998-05-12 23:02:14 +00:00
troy
92c9ccb54b
Added new member functions
1998-05-12 23:02:02 +00:00
peterl
12c078b2a7
sync to nsStyleSpacing api changes
1998-05-12 22:58:14 +00:00
peterl
8dd3604496
added proper support for border padding & margin
...
better support for clip
1998-05-12 22:57:52 +00:00
peterl
3a1b51ba69
added clip inherit support
...
added line-height number support
1998-05-12 22:56:18 +00:00
peterl
a97ac241a7
sync to new spacing apis
1998-05-12 22:28:01 +00:00
peterl
f5413b1108
fixed clip rect handling (auto side support)
1998-05-12 22:26:59 +00:00
peterl
e823dd393f
added table enums
...
added clip flags
1998-05-12 22:25:31 +00:00
peterl
379def863b
added factor unit
...
added nsStyleSides
1998-05-12 22:24:12 +00:00
peterl
b9d6cdc197
merged nsStyleBorder & nsStyleSpacing
...
changed spacing data to use nsStyleSides
removed virtual methods
added nsStyleTable
1998-05-12 22:23:13 +00:00
peterl
6b46c3107c
Merged nsStyleBorder & nsStyleSpacing
...
changed spacing values o use nsStyleSides
removed virtual methods
1998-05-12 22:21:03 +00:00
peterl
1f3c71eb21
added factor unit type
...
added nsStyleSides
1998-05-12 22:18:42 +00:00
karnaze
7971bd7256
textarea sizing improvement; use nsCSSLayout::GetStyleSize; fix combo box SizeTo
1998-05-12 18:28:58 +00:00
troy
c0dbf1e2f9
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
87d8314c08
Changed enum to conform with coding standards
1998-05-12 04:38:23 +00:00
troy
3b08586876
Change to nsIFrame API
1998-05-12 04:17:56 +00:00
kipp
efec7aae79
Release image loader during delete frame to break so that images shutdown properly
1998-05-12 01:32:30 +00:00
kipp
9ac5634a00
Added container methods for the singly contained frame
1998-05-12 01:31:22 +00:00
kipp
4b81688d10
Init band data so that zero is returned on failure
1998-05-12 01:30:57 +00:00
kipp
ade3a34c11
Re-installed the temporary content appended hack
1998-05-12 01:30:40 +00:00
kipp
4ebc5dc2d4
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
2d1ca5b665
Removed unused variables and methods
1998-05-12 01:29:43 +00:00
kipp
978834f3df
Implement stop and abort; stop properly breaks circular link to image request
1998-05-12 01:29:29 +00:00
kipp
f51e9a1343
Declare stop and abort methods
1998-05-12 01:28:51 +00:00
kipp
55ba3e4d79
Added stop and abort methods
1998-05-12 01:28:31 +00:00
kipp
55e1c1ea89
Make url's absolute per the css spec
1998-05-11 23:28:47 +00:00
kipp
8f85d77685
Skip over whitespace properly after url string (it's optional whitespace not mandatory whitespace)
1998-05-11 23:28:22 +00:00
kipp
42bbccee9d
Use new image loading API's
1998-05-11 22:58:20 +00:00
kipp
0fbf87f1dd
Revised image loading API's
1998-05-11 22:57:05 +00:00
kipp
da48d5c7f9
Removed image loading code (factored out into nsFrameImageLoader); revised API for image loading
1998-05-11 22:56:58 +00:00
kipp
7ec5ddd8a5
Added nsFrameImageLoader
1998-05-11 22:56:23 +00:00
kipp
a38f46e3c8
Export nsIFrameImageLoader.h
1998-05-11 22:55:54 +00:00
kipp
7ae60b24b9
new
1998-05-11 22:52:40 +00:00
troy
6b8094d7b4
Changed table code to pay attention to the ALIGN attribute
1998-05-11 21:31:12 +00:00
troy
b1309281e9
Fixed build bustage
1998-05-11 21:03:50 +00:00
troy
89274c06e4
Wrapped VerifyLines() inside of a NS_DEBUG #define
1998-05-11 18:54:15 +00:00
troy
eaaa05815e
More incremental reflow work.
1998-05-11 18:38:10 +00:00
troy
27dd88d7ae
Work in progress on block incremental reflow
1998-05-09 03:52:29 +00:00
kipp
c795d58828
Use new LoadImage API
1998-05-09 03:23:54 +00:00
kipp
773127ceb5
Removed uneeded code; added a reminder comment
1998-05-09 03:23:41 +00:00
kipp
ceffa8485b
Cheesy implementation of the reflow lock and content appended
1998-05-09 03:22:41 +00:00
kipp
fe23dc4799
Updated to new API
1998-05-09 03:22:14 +00:00
kipp
68216dfe88
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
e6268b40e7
Added enter/exit reflow lock methods
1998-05-09 03:21:34 +00:00
kipp
8d6f0a5774
Revised LoadImage API to use NS_IMETHOD and provide alot more information about the load
1998-05-09 03:21:19 +00:00
karnaze
b454203501
select/option
1998-05-08 23:08:43 +00:00
kipp
cb1358cbb5
Fixed irix bustage
1998-05-08 21:12:12 +00:00
karnaze
11f4c32b98
more support for textarea, select/option in content sink
1998-05-08 20:18:06 +00:00
kipp
b16f6224cd
Fixed pseudo-frame body behavior
1998-05-08 19:43:25 +00:00
rods
2cb9962312
added major selection method and data members
1998-05-08 18:33:42 +00:00
kipp
7d7aba9ef3
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
0209babfcc
Changed container related functions to return NS_ERROR_NOT_IMPLEMENTED
...
instead of NS_OK
1998-05-08 17:02:35 +00:00
troy
88e5de1f65
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
8b07e0d25c
Changed ContentChanged() to generate a reflow command
1998-05-08 16:33:07 +00:00
rods
1205850979
added Selection methods to nsICodment, nsDocument, nsiSplittableFRame
1998-05-08 15:07:41 +00:00
troy
5ea80074c7
Hooked up ContentChanged() to notify the frame
1998-05-08 04:59:35 +00:00
troy
d558e0944f
Added ContentChanged() member function
1998-05-08 04:56:47 +00:00
troy
8a61897ab0
Added ContentChanged() member function
1998-05-08 04:45:37 +00:00
kipp
5124564620
Support width/height ala css
1998-05-08 00:16:41 +00:00
kipp
a2f4220ebc
Added MapImagePropertiesInto
1998-05-08 00:16:30 +00:00
kipp
b00942a319
Support css width&height style properties
1998-05-07 23:38:51 +00:00
kipp
e91fd38b80
Unsupported border+padding around form elements (except for image - it still works)
1998-05-07 23:38:12 +00:00
kipp
b756f040c3
Support width & height ala css1
1998-05-07 21:50:56 +00:00
kipp
ec92662afe
order sid's alphabeticly
1998-05-07 21:36:41 +00:00
kipp
a19ea215c6
Added GetStyleSize
1998-05-07 21:36:16 +00:00
kipp
e718ab71de
Set clip rect if style says to
1998-05-07 21:35:03 +00:00
rickg
1a832ee7ce
new contentsink api's for kipp
1998-05-07 21:11:07 +00:00
troy
78de74ac42
Work in progress
1998-05-07 21:10:07 +00:00
troy
dde4836b65
Started hooking up appended content handler
1998-05-07 20:28:16 +00:00
kipp
157f3fea1b
Support (mostly) border+padding around input form elements
1998-05-07 16:13:59 +00:00
kipp
b46d632042
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
f6e0e4fd8b
Work on getting floaters working again
1998-05-07 05:25:08 +00:00
kipp
707a667dd2
Implemented destroy-lines
1998-05-07 03:45:29 +00:00
troy
645ad97191
Checks whether the next-in-flow should be deleted
1998-05-07 02:51:30 +00:00
kipp
c07c22af17
Ported to new CreateFrame/CreateContinuingFrame APIs
1998-05-07 00:08:20 +00:00
kipp
0c6469b295
Ported to new CreateFrame/CreateContinuingFrame APIs; removed some debris code
1998-05-07 00:06:53 +00:00
kipp
cbdc7fbe69
Updated style sheet
1998-05-07 00:06:15 +00:00
kipp
a333c5eda2
Changed CreateContinuingFrame to take a style context argument to reduce style context creation
1998-05-07 00:05:37 +00:00
kipp
47ca58f827
Updated CreateFrame to take a style context argument to reduce style context creation
1998-05-07 00:05:13 +00:00
troy
f27831e884
Started adding ContentChanged() notifications
1998-05-06 16:28:55 +00:00
troy
dc0c1c644c
Hooked up DOM insert/replace/delete
1998-05-06 16:27:15 +00:00
troy
ca23e47c2e
Frames no longet store the content index-in-parent
1998-05-05 23:56:50 +00:00
troy
af4352b9f4
Work in progress for inserted incremental reflow
1998-05-05 04:47:53 +00:00
troy
3818ab7825
Fixed my build bustage
1998-05-04 22:50:13 +00:00
troy
806d70ed8c
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
049905f1f8
Added ContentInserted handler
1998-05-04 18:32:12 +00:00
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