Commit Graph

5152 Commits

Author SHA1 Message Date
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
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
3a6dc218b6 NS_IMETHOD'd some of the API's 1998-05-30 01:36:47 +00:00
kipp
d25f654f17 updated 1998-05-30 01:32:10 +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
kipp
3b43bc8d84 Use mOpacity as a float in the nsStyleColor struct 1998-05-28 19:55:42 +00:00
kipp
203aea26bd Port to new parser API 1998-05-28 18:40:23 +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
kipp
74805620cf Fixed infinite loop in GetStyleSize code 1998-05-28 17:06:43 +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
9be967661a Parse (and ignore) important declarations 1998-05-27 23:38:16 +00:00
kipp
a4ac37270f Only perform horizontal alignment when there is room to do it 1998-05-27 21:04:33 +00:00
karnaze
f1382417c0 post submission, file content submission 1998-05-27 17:51:41 +00:00
peterl
3fd983bcd3 moved attributes around 1998-05-26 23:16:55 +00:00
kipp
3505e0b3cc Use new GetVisibleArea API 1998-05-22 18:38:33 +00:00
jevering
8be66e8b53 Fixed about: URL's from crashing the viewer. 1998-05-22 18:10:08 +00:00
rickg
c13fe13cdd moved to new incremental API 1998-05-21 20:37:41 +00:00
peterl
7168f94691 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +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
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
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
8939828111 initial support for <input type=file>, combo box use of widget init data for sizing 1998-05-18 16:39:42 +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
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
karnaze
68b9679002 more select/option support 1998-05-13 17:43:35 +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
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
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
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
karnaze
34036a5a0f more support for textarea, select/option in content sink 1998-05-08 20:18:06 +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
kipp
519a6403a4 Ported to new CreateFrame/CreateContinuingFrame APIs 1998-05-07 00:08:20 +00:00
troy
d477d86672 Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +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
7d8404bbe3 Work in progress for incremental reflow (insert) 1998-05-04 17:54:45 +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
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
karnaze
0df7874f85 fix submit crash in nsWindow; more form control functionality 1998-04-28 18:59:38 +00:00
kipp
71728fe999 Allow for optional commas between clip rect elements 1998-04-28 15:24:44 +00:00
troy
beceaa1b53 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +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
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
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
93fdfbe671 Port to removal of nsStyleMolecule 1998-04-25 18:48:48 +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
881a887f23 new atoms 1998-04-25 18:39:16 +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
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
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
troy
9b866ce254 Fixed some bustage 1998-04-22 18:15:48 +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
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
buster
e94974f380 THEAD and TFOOT tags enabled 1998-04-21 16:36:46 +00:00
troy
6ca816beb6 Added code to handle CSS margin properties 1998-04-18 22:16:37 +00:00
troy
3ce8e88882 Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
peterl
74502df8bb fix leaks 1998-04-16 21:51:16 +00:00
peterl
8c95a33726 fix memory leaks 1998-04-16 21:49:49 +00:00
rickg
862b939ed1 added 'marker-style' entities and fixed a few bugs 1998-04-16 08:18:15 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00