kipp
f7574b4cbd
Fixed block frame Clear method to work properly
1998-06-01 23:38:40 +00:00
kipp
9be24b0fac
Added SetFirstChild; made line layout a friend of block frame
1998-06-01 23:37:55 +00:00
troy
63d19a37ca
Changed nsLeafFrane's GetdesiredSize() to not pass in the max size
...
since it's now part of nsReflowState
1998-06-01 23:31:30 +00:00
buster
3fe1fe2844
made tables quiet again
1998-06-01 21:07:56 +00:00
kipp
4222da36de
Support nsILinkHandler::OnOverLink
1998-06-01 20:55:10 +00:00
buster
3086966c54
much better fixed and percentage width layout
1998-06-01 20:21:05 +00:00
troy
a63afc80fc
Work in progress for floaters to handle percentage based
...
width/height
1998-06-01 19:56:58 +00:00
kipp
5fda0b28cd
updated
1998-06-01 19:53:38 +00:00
kipp
a244a4fe53
Updated LoadURL API to take an nsIStreamListener
1998-06-01 19:53:27 +00:00
kipp
b328c87dfc
Updated LoadURL API to take an nsIStreamListener; pass on listener to parser
1998-06-01 19:53:19 +00:00
troy
99a5451cee
Added some support for percentage based width/height. Currently only works
...
for the initial reflow
1998-06-01 19:52:53 +00:00
troy
35e6293e4b
Added a comment to GetStyleDimension indicating that computed percentage
...
values are being handled incorrectly
1998-05-31 04:45:21 +00:00
kipp
669da95542
Revised API so that correct percentage width/height could be computed
1998-05-30 21:22:17 +00:00
kipp
9a2d1c3765
Updated a few table API's so that percentage width could be properly computed
1998-05-30 21:21:51 +00:00
kipp
cefa24d0c1
Updated to new GetDesiredSize api's (so that percentage width's could be properly calculated)
1998-05-30 21:21:11 +00:00
kipp
89fa391100
fixed value to string for percentages to include the '%'
1998-05-30 21:20:07 +00:00
kipp
b13aa91034
Removed dead code
1998-05-30 21:19:36 +00:00
kipp
acae2baa96
Updated to new GetDesiredSize API; reworkd width handling
1998-05-30 21:19:11 +00:00
kipp
1ce91917a8
Use new cssLayout api
1998-05-30 21:18:32 +00:00
kipp
014fd2716d
Use new mPendingBreak state
1998-05-30 17:46:11 +00:00
kipp
ea63db96a3
Support BR tags in inline frames
1998-05-30 17:45:46 +00:00
kipp
9191e6894f
Partial support for BR clear behavior
1998-05-30 17:45:15 +00:00
kipp
d7b2db76d0
Cleaned up; use new slot in nsLineLayout state to support clear semantics
1998-05-30 17:44:50 +00:00
kipp
3a6dc218b6
NS_IMETHOD'd some of the API's
1998-05-30 01:36:47 +00:00
kipp
0a09bfc52f
NS_IMETHOD'd some of the API's; rewrote insert/delete/append/replace dom methods so they actually work
1998-05-30 01:36:00 +00:00
kipp
55fb96306e
Add attributes to result in ToHTML
1998-05-30 01:34:56 +00:00
kipp
7415276d6f
Added QuoteForHTML method
1998-05-30 01:34:03 +00:00
kipp
ad65ae2c8c
process DIR attribute and lang attribute
1998-05-30 01:32:50 +00:00
kipp
d25f654f17
updated
1998-05-30 01:32:10 +00:00
kipp
7baf3bcb5b
new
1998-05-30 00:44:38 +00:00
troy
a4f359a574
Placeholder now wraps container content in a body pseudo frame
1998-05-29 23:12:26 +00:00
troy
710593c695
Changed ComputeAvailSpaceRect() to handle the 'OccupiedMultiple' case
1998-05-29 23:05:12 +00:00
karnaze
4de74d7ac1
event improvements
1998-05-29 22:44:13 +00:00
buster
a58280cec0
some proportional column balancing now works
...
the <TABLE> COLS attribute is supported via proportional column balancing.
1998-05-29 22:08:19 +00:00
troy
7a485fcc40
Changed nsReflowState structs to be linked together
1998-05-29 20:36:05 +00:00
kipp
24a708a050
Consolidated list handling state variables
1998-05-29 18:25:14 +00:00
kipp
80e1675e3e
Disabled assertions for now (sigh); removed DoResizeReflow and collapsed it into Reflow
1998-05-29 02:34:19 +00:00
kipp
a73cb55e80
Disabled assertions for now (sigh)
1998-05-29 02:34:02 +00:00
kipp
8bf7e83385
Removed some unused list layout cruft
1998-05-29 02:33:50 +00:00
kipp
c76134da19
nuked
1998-05-29 02:18:17 +00:00
kipp
42884324fa
pass url into image loader
1998-05-29 02:16:46 +00:00
kipp
e6a44c24b8
Use outside bullets again
1998-05-29 02:16:29 +00:00
kipp
59784b7f81
Get initial reflow state set right during child reflow; support list bullets directly
1998-05-29 02:15:46 +00:00
kipp
0ad4885eb9
Pass on initial reflow to ProcessInitialReflow
1998-05-29 02:15:00 +00:00
kipp
47b716e3b4
Added bullet creator
1998-05-29 02:14:41 +00:00
kipp
12ecea6824
Revised image loader API slightly
1998-05-29 02:14:30 +00:00
kipp
a5ddf1f970
Revised image loader API slightly and used it to setup url spec via src attr
1998-05-29 02:14:17 +00:00
kipp
e34cb470d5
stub out IsSynthetic API
1998-05-29 02:13:50 +00:00
kipp
8bb1a77086
Added initial reflow hook; setup list bullets using it
1998-05-29 02:13:25 +00:00
kipp
3e79bff40b
Added initial reflow hook
1998-05-29 02:13:13 +00:00
kipp
5e78243075
Treat list-item like block when creating frames
1998-05-29 02:12:59 +00:00
kipp
fd620819d3
Assert that reflow reason is correct
1998-05-29 02:11:50 +00:00
kipp
b9d5409399
Added list state for line layout
1998-05-29 02:11:38 +00:00
kipp
16955787c4
Set list state in block reflow state for line layout; assert that reflow reason is correct; pass initial reflow into ProcessInitialReflow hook
1998-05-29 02:11:27 +00:00
kipp
cccee9e040
Removed nsListItemFrame and added nsHTMLBullet
1998-05-29 02:10:51 +00:00
kipp
7324c17c8c
new
1998-05-29 02:01:43 +00:00
buster
aad54b07f6
set the groundwork for handling COLS attribute, and attributes on COLGROUP and COL tags. WIP.
...
set the groundwork for handling percentage-width tables. Troy is adding a hook for me to get the correct width info from the parent. WIP.
1998-05-28 21:39:22 +00:00
troy
b8095d0814
Added some more WillReflow() calls
1998-05-28 20:12:02 +00:00
kipp
3b43bc8d84
Use mOpacity as a float in the nsStyleColor struct
1998-05-28 19:55:42 +00:00
kipp
8e2d9f2551
Added STYLE= support (partially)
1998-05-28 19:44:36 +00:00
troy
d6ceb1bcea
Changed VerifyTree() to check that NS_FRAME_IN_REFLOW isn't set
1998-05-28 19:00:31 +00:00
kipp
203aea26bd
Port to new parser API
1998-05-28 18:40:23 +00:00
kipp
a88bdc9acc
Revised argument handling and added code to test the ParseDeclarations css parser capability
1998-05-28 18:40:07 +00:00
kipp
b20743e28a
Revised API to be com-ish and added ParseDeclarations; implement ParseDeclartions using basic declaration handling routines
1998-05-28 18:39:42 +00:00
kipp
d9e2ce27b1
Revised API to be com-ish and added ParseDeclarations
1998-05-28 18:39:08 +00:00
troy
27c2f0230b
Added WillReflow() calls around reflowing of child frame
1998-05-28 18:37:56 +00:00
kostello
a080d1c9b5
Fix crasher loading mozilla.org page
1998-05-28 18:31:44 +00:00
kipp
fb946f0303
Default alignment of HR's is center
1998-05-28 17:10:17 +00:00
kipp
74805620cf
Fixed infinite loop in GetStyleSize code
1998-05-28 17:06:43 +00:00
kipp
f285347b6d
Eliminated bogus style from HR rule
1998-05-28 17:06:15 +00:00
kipp
d76ff4688e
Support sizing properly; support width/height css (and attribute) style; elminate manual attribute storage
1998-05-28 17:05:39 +00:00
karnaze
2c631dde65
fix bug in get submission
1998-05-28 16:00:15 +00:00
troy
bc548de161
Make sure we set the (x,y) before reflowing the frame
1998-05-28 05:41:59 +00:00
troy
fa0cc22098
Changed Paint() to not check if the frame is a pseudo frame
1998-05-28 04:38:28 +00:00
troy
4910a3a407
Added 'ns' prefix to class name
1998-05-28 02:37:37 +00:00
kipp
72d77edcbb
Added style support for the new css opacity property
1998-05-28 02:02:43 +00:00
kipp
f8872f1a9f
Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction
1998-05-28 02:02:22 +00:00
kipp
e3c2b23d0a
Use revised HorziontallyPlaceChildren api
1998-05-28 02:01:50 +00:00
kipp
b82103d694
new
1998-05-28 01:58:58 +00:00
kipp
6de497e240
Added a new property
1998-05-28 01:11:30 +00:00
karnaze
c56719fbe8
fixed memory leak from prev checkin
1998-05-28 00:42:26 +00:00
karnaze
dc7da6fe8a
gui events store nsISupports; improved forms event handling
1998-05-27 23:58:07 +00:00
kipp
9be967661a
Parse (and ignore) important declarations
1998-05-27 23:38:16 +00:00
kipp
1e2925019e
new
1998-05-27 23:37:21 +00:00
kipp
a51ed32383
Set x,y coordinate of frame before reflowing it
1998-05-27 22:24:57 +00:00
kipp
a164d4ab41
Use new line layout struct; pass in word break info to line layout
1998-05-27 21:07:30 +00:00
kipp
a69a1eb394
Moved certain line layout state into a state struct that can be saved/restored for word breaking
1998-05-27 21:07:10 +00:00
kipp
739607faa8
Moved certain line layout state into a state struct that can be saved/restored for word breaking; updated code to use it; fixed up split line logic to use state to compute push count; added in word breaking logic; eliminated old word break code
1998-05-27 21:06:55 +00:00
kipp
43d9780a05
Added DidFit/CanFit predicates; removed cruft
1998-05-27 21:06:03 +00:00
kipp
ff32f375c6
Removed cruft; fixed to use canfit/didfit predicates that check on word-breaking state; fixed long standing bug with last-content-complete in pullup code
1998-05-27 21:05:47 +00:00
kipp
7435c759b9
Updated to use lineLayout struct changes
1998-05-27 21:05:13 +00:00
kipp
05ea401f56
nop
1998-05-27 21:04:53 +00:00
kipp
a4ac37270f
Only perform horizontal alignment when there is room to do it
1998-05-27 21:04:33 +00:00
karnaze
ace4017e75
removed printf
1998-05-27 21:04:23 +00:00
karnaze
75f0765630
fix irix build
1998-05-27 19:57:03 +00:00
karnaze
f1382417c0
post submission, file content submission
1998-05-27 17:51:41 +00:00
michaelp
b5140d2751
added support for front-to-back view rendering.
1998-05-27 02:13:28 +00:00
buster
11d1544188
fixed case-sensitive include
1998-05-26 23:28:48 +00:00
peterl
613e577b7d
added visibility style attribute
1998-05-26 23:17:29 +00:00
peterl
3fd983bcd3
moved attributes around
1998-05-26 23:16:55 +00:00
peterl
9067bd0670
added visibility style attribute
...
moved attributes from position to display struct
1998-05-26 23:15:47 +00:00
buster
2104457c96
table width computation using style system (more than it used to, at least)
1998-05-26 22:03:16 +00:00
kostello
e1dc943664
Updated Table Border code to render HTML3.2 compatible borders (no longer using the cool,
...
CSS borders).
Fixed Table but submitted by Isaac David Guedalia <daniel_sh@gezernet.co.il>.
1998-05-26 20:57:24 +00:00
kostello
843b8a3ff9
Moved Get3DColors from HRPart to CSSRendering.
...
Modified Border Drawing Code to use Get3DColors for backwards compatibility purposes.
1998-05-26 20:52:59 +00:00
kostello
cb198187a9
Moved Get3DColors from HRPart to CSSRendering.
1998-05-26 20:52:12 +00:00
troy
3ea1d2d8e3
Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function
1998-05-25 17:31:49 +00:00
kipp
eb7c893d4f
Fixed windows cvpack problem
1998-05-22 18:41:08 +00:00
kipp
e5b0ee397f
Removed a pile of includes
1998-05-22 18:39:28 +00:00
kipp
ca9dfd762d
Move padding out of UL/OL and into LI's that are in UL/OL's
1998-05-22 18:39:11 +00:00
kipp
3505e0b3cc
Use new GetVisibleArea API
1998-05-22 18:38:33 +00:00
kipp
483d1c66ad
Support LI's with padding instead of UL padding
1998-05-22 18:38:11 +00:00
kipp
8e4689245f
Removed some dead code; added code to DidReflow children at a good spot
1998-05-22 18:37:49 +00:00
kipp
52a57efacd
Removed some includes
1998-05-22 18:37:25 +00:00
kipp
abe10706b7
Removed an include
1998-05-22 18:37:15 +00:00
kipp
9094e7ca15
Declare nsStylePosition
1998-05-22 18:37:04 +00:00
jevering
8be66e8b53
Fixed about: URL's from crashing the viewer.
1998-05-22 18:10:08 +00:00
troy
6204c78831
Changed splittable enum to be bit flags
1998-05-22 04:54:11 +00:00
troy
a1ab3d3e9a
Changed the nsBandTrapezoid::State enum values to conform to the coding
...
standard
1998-05-22 04:03:14 +00:00
troy
d0e4da316d
Some work in progress for incremental floaters
1998-05-22 02:38:41 +00:00
buster
aafa0d6ab4
made nsTableCaptionFrame a subclass of nsBodyFrame
1998-05-22 00:05:22 +00:00
kostello
193764594a
* Added Support for cell spacing
...
* NOTE: due to changes in the style system -- things won't look correct right away.
1998-05-21 23:43:18 +00:00
rickg
c13fe13cdd
moved to new incremental API
1998-05-21 20:37:41 +00:00
kipp
2addaf04c8
disabled reflow-mapped-child for now
1998-05-21 16:29:20 +00:00
kipp
7a14b3c74d
Not quite functional handling of line state during GetReflowMetrics
1998-05-21 16:12:31 +00:00
kipp
460f3aac59
better handle reflow avoidance; factored align children slightly different so that more code is shared between ResizeReflow and IncrementalReflow; fixed more cases where reflow is required
1998-05-21 16:12:10 +00:00
kipp
d0c79cf1df
Added a few more fields to better handle reflow avoidance; factored align children slightly different so that more code is shared between ResizeReflow and IncrementalReflow
1998-05-21 16:11:29 +00:00
peterl
7168f94691
Changed GetStyleData to use an enum instead of an nsID
1998-05-21 02:34:13 +00:00
kipp
32a594133f
Disable reflow optimizations for now
1998-05-20 21:51:51 +00:00
troy
6d72ec886b
Cleaned up performance
1998-05-20 21:40:00 +00:00
peterl
745e32a18d
made it build on irix
1998-05-20 21:28:36 +00:00
peterl
c33cdeff7c
added rule hash table to speed up style resolution
1998-05-20 20:34:17 +00:00
kipp
90e9083b3a
Added rule for MULTICOL
1998-05-20 16:28:19 +00:00
kipp
a2e476cd11
Add in will/did reflow calls; add in tracing calls too
1998-05-20 16:28:05 +00:00
kipp
bd4c33187c
Use new tracing macros; add in ReflowMappedChild to avoid reflowing children
1998-05-20 16:27:46 +00:00
kipp
a7357787d6
Use new tracing macros and verify-tree-enable
1998-05-20 16:27:22 +00:00
kipp
4478350128
Added in mDeltaWidth to block reflow state
1998-05-20 16:26:46 +00:00
kipp
299a819b30
Fixed GetReflowMetrics to return something; use new tracing methods and verify-tree-enable; compute delta width for line layout logic
1998-05-20 16:26:34 +00:00
kipp
9cf0e6fdfb
GetReflowMetrics now updates the reflow state
1998-05-20 16:25:40 +00:00
karnaze
57a66855f7
temp hack to test post submission
1998-05-20 00:10:42 +00:00
thom
aa407491f5
fixed compile errors for mac
1998-05-19 23:11:28 +00:00
karnaze
cbc1ada4b8
better layout, sizing of select
1998-05-19 17:51:21 +00:00
peterl
194cc28a2d
added pseudo-class rule matching
1998-05-19 00:09:29 +00:00
peterl
f589d457b0
added pseudo-class atoms
1998-05-19 00:08:16 +00:00
peterl
47db0f2192
added pseudo frame support
1998-05-18 21:11:08 +00:00
peterl
0528c87a0a
cleaned up list output
1998-05-18 21:10:44 +00:00
peterl
e8e82334f0
pseudo frame support
1998-05-18 21:10:19 +00:00
peterl
0018dab23e
correct case of selectors
...
skip empty selectors
better pseudo-class support
1998-05-18 21:09:43 +00:00
peterl
93ce222761
added pseudo element support
1998-05-18 21:07:54 +00:00
peterl
5119956475
fixed memory leak
...
fixed uninitialized memory read
1998-05-18 21:07:24 +00:00
peterl
c440da74c3
added pseudo style support
1998-05-18 21:06:33 +00:00
karnaze
1189d589e3
fixed nsInputFile::SizeTo
1998-05-18 18:07:01 +00:00
kipp
f51cf58f63
Print out state when non-zero
1998-05-18 16:53:09 +00:00
kipp
14b025d540
Call WillReflow before reflowing children
1998-05-18 16:52:57 +00:00
kipp
6b6f893f40
dump out state and next-in-flow/prev-in-flow conditionally
1998-05-18 16:52:41 +00:00
karnaze
8939828111
initial support for <input type=file>, combo box use of widget init data for sizing
1998-05-18 16:39:42 +00:00
kmcclusk
1d7e22a70f
Added widget specific init structs
1998-05-14 21:34:08 +00:00
kipp
f738f9e8a0
nuked
1998-05-14 02:46:28 +00:00
kipp
280ccad41e
Fixed up code that wasn't using the nsReflowStatus constants defined in nsIFrame.h
1998-05-14 00:49:46 +00:00
kipp
f8feba0fad
Removed some useless code
1998-05-14 00:49:11 +00:00
peterl
7d16a4af74
added HTML CSS style sheet (for STYLE= attributes)
1998-05-13 23:43:44 +00:00
peterl
02a464b6c3
added style atom
1998-05-13 23:42:40 +00:00
peterl
c7341728eb
added HTML CSS style sheet
1998-05-13 23:42:18 +00:00
peterl
7474aa1932
renamed getSupportsValue to getISupportsValue
1998-05-13 23:42:01 +00:00
peterl
df793a8c99
attribute fix for kostello
1998-05-13 22:41:15 +00:00
peterl
89e961b03f
fixed bug in parse declaration block, we now discard empty declarations
...
tweaked position
1998-05-13 22:40:54 +00:00
peterl
8f8eedabf5
fixed position
1998-05-13 22:40:17 +00:00
peterl
7904fe7c25
remove spacing cache invalidate
1998-05-13 22:39:41 +00:00
michaelp
d55497643c
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
68b9679002
more select/option support
1998-05-13 17:43:35 +00:00
kipp
7b6e94cec4
Fixed coord to be setup properly
1998-05-13 00:33:34 +00:00
kipp
51fdf4da25
Fixed ptr compilation bug
1998-05-13 00:13:09 +00:00
kipp
186c393da1
Removed unused variable
1998-05-13 00:12:54 +00:00
kipp
0ed8466178
Removed unused variable; fixed assingment into error return status
1998-05-13 00:12:40 +00:00
kipp
2eceaceee2
Cast lineReflowStatus before comparing for negative values!; eliminated unused variables
1998-05-13 00:11:51 +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
eae3bc823b
new
1998-05-12 23:48:11 +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
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
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
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
troy
341b30497d
Changed table code to pay attention to the ALIGN attribute
1998-05-11 21:31:12 +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
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
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
fb1fbe4c8e
Added ContentChanged() member function
1998-05-08 04:56:47 +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
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
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
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
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
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
rpotts
8079b4ef67
added netlib to the include path...
1998-05-01 05:07:25 +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
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
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
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
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
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
581f83a1fd
new
1998-04-27 15:43:09 +00:00
kipp
0e59c2de8c
Removed hack
1998-04-27 15:39:58 +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
941c955ed8
Fix porting bugs - made it compile on IRIX
1998-04-26 02:59:29 +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
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
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
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
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
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
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
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