Граф коммитов

650 Коммитов

Автор SHA1 Сообщение Дата
kipp 275f86179b Added begin/end load methods 1998-06-03 15:39:45 +00:00
kipp 873e9140cf COMized some of the API; added a notify flag to the child insert/replace/append/remove methods 1998-06-03 15:39:32 +00:00
kipp ec65b1cd5d Updated LoadURL API to take an nsIStreamListener 1998-06-01 19:53:27 +00:00
kipp 4bc2a2d2a2 Updated LoadURL API to take an nsIStreamListener; pass on listener to parser 1998-06-01 19:53:19 +00:00
kipp 3e64fcee88 Revised LoadURL to take an nsIStreamListener; removed old document load hooks 1998-06-01 19:52:39 +00:00
troy 6d244dcc50 Added a comment to GetStyleDimension indicating that computed percentage
values are being handled incorrectly
1998-05-31 04:45:21 +00:00
kipp b17d369aaa Revised API so that correct percentage width/height could be computed 1998-05-30 21:22:17 +00:00
kipp f9f814bcd1 NS_IMETHOD'd some of the API's 1998-05-30 01:36:47 +00:00
kipp 865bd3915c updated 1998-05-30 01:32:10 +00:00
kipp 9c82072a3a Added a new content method to see if a piece of content is synthetic or not 1998-05-29 02:09:38 +00:00
buster c3e2859006 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 8655e732f4 Use mOpacity as a float in the nsStyleColor struct 1998-05-28 19:55:42 +00:00
kipp 2628fb4bbb Set value to 1.0F as a float 1998-05-28 19:55:15 +00:00
kipp c9ea9ff9f5 Port to new parser API 1998-05-28 18:40:23 +00:00
kipp 2dcaa2827c 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 b665a9ad54 Revised API to be com-ish and added ParseDeclarations 1998-05-28 18:39:08 +00:00
kipp 3fb5c8ed07 Fixed infinite loop in GetStyleSize code 1998-05-28 17:06:43 +00:00
kipp 8f988b8282 Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
kipp 4ddfb90b4c Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction 1998-05-28 02:02:22 +00:00
kipp 399374728a Use default text alignment; setup opacity properly 1998-05-28 02:01:19 +00:00
kipp b268fad129 Added a new property 1998-05-28 01:11:30 +00:00
kipp 937fd8363b Parse (and ignore) important declarations 1998-05-27 23:38:16 +00:00
kipp 18f6c1ef3a Only perform horizontal alignment when there is room to do it 1998-05-27 21:04:33 +00:00
karnaze a73bfbfe46 post submission, file content submission 1998-05-27 17:51:41 +00:00
peterl 22f5019124 moved attributes around 1998-05-26 23:16:55 +00:00
peterl 742eb2d745 use context graph for finding contexts 1998-05-26 23:14:56 +00:00
peterl 3215b236c4 reworked up reset code
added child list
1998-05-26 23:14:09 +00:00
kipp 849b13f63b Use new GetVisibleArea API 1998-05-22 18:38:33 +00:00
jevering 06e8be5b52 Fixed about: URL's from crashing the viewer. 1998-05-22 18:10:08 +00:00
rickg 81938c0115 moved to new incremental API 1998-05-21 20:37:41 +00:00
peterl 5a96d99f60 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
peterl cb3b43ce42 made it build on irix 1998-05-20 21:28:36 +00:00
peterl 4aaff46277 added rule hash table to speed up style resolution 1998-05-20 20:34:17 +00:00
peterl 75034db5c9 collapse double empty contexts 1998-05-20 20:33:30 +00:00
peterl addc527eb6 added rule count accessor 1998-05-20 20:32:57 +00:00
karnaze 6cbe78c066 temp hack to test post submission 1998-05-20 00:10:42 +00:00
thom 5493b2968c fixed compile errors for mac 1998-05-19 23:11:28 +00:00
peterl ad536d754b added pseudo-class rule matching 1998-05-19 00:09:29 +00:00
peterl 33ba5e5aad added pseudo-class atoms 1998-05-19 00:08:16 +00:00
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 d91757b5c8 added pseudo frame style support 1998-05-18 21:03:10 +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
kipp ad7b3ca94e Removed some useless code 1998-05-14 00:49:11 +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 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 f591955d94 connected spacing calculations to frame 1998-05-13 22:38:54 +00:00
karnaze 13b5043578 more select/option support 1998-05-13 17:43:35 +00:00
kipp 8060bedbd5 Removed unused variable 1998-05-13 00:12:54 +00:00
kipp 155bd31586 Eliminate anonymous struct (and useless bitfields) to fix irix compilation problem 1998-05-13 00:10:35 +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
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 b9d6cdc197 merged nsStyleBorder & nsStyleSpacing
changed spacing data to use nsStyleSides
removed virtual methods
added nsStyleTable
1998-05-12 22:23:13 +00:00
peterl 1f3c71eb21 added factor unit type
added nsStyleSides
1998-05-12 22:18:42 +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 773127ceb5 Removed uneeded code; added a reminder comment 1998-05-09 03:23:41 +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
rods 1205850979 added Selection methods to nsICodment, nsDocument, nsiSplittableFRame 1998-05-08 15:07:41 +00:00
kipp a19ea215c6 Added GetStyleSize 1998-05-07 21:36:16 +00:00
rickg 1a832ee7ce new contentsink api's for kipp 1998-05-07 21:11:07 +00:00
kipp c07c22af17 Ported to new CreateFrame/CreateContinuingFrame APIs 1998-05-07 00:08:20 +00:00
troy f27831e884 Started adding ContentChanged() notifications 1998-05-06 16:28:55 +00:00
troy ca23e47c2e Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +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 9ae1d79f61 Work in progress for incremental reflow (insert) 1998-05-04 17:54:45 +00:00
kipp 21e1b3a406 Fixed default background repeat bug 1998-05-02 00:55:29 +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 304a1573f2 removed include 1998-04-30 19:53:05 +00:00
peterl 82f09e3453 changed to nsStylePosition to use nsStyleCoord 1998-04-30 19:52:26 +00:00
peterl 121efdeb0f updated api, added new units 1998-04-30 19:50:36 +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
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
rods bda1d7b02a initial check in 1998-04-29 17:08:57 +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
karnaze 0aaeba3e9b fix submit crash in nsWindow; more form control functionality 1998-04-28 18:59:38 +00:00
kipp 9c9549a2f1 Allow for optional commas between clip rect elements 1998-04-28 15:24:44 +00:00
troy 2aae959115 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +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 cd2d1fca8e Init nsStyleText values using new nsStyleValue 1998-04-27 21:21:42 +00:00
kipp 063c7a9abd Removed hack 1998-04-27 15:39:58 +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 86764b175c Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +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 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 f5e013b60d new atoms 1998-04-25 18:39:16 +00:00
kipp e6603fbd39 Implement nsStyleText, nsStyleDisplay; added cursors; removed hack code 1998-04-25 18:33:32 +00:00
kipp edb906c274 Cleaned up the API 1998-04-25 18:32:59 +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
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 4ff4685dbe added style for HTML 4 table elements and TH 1998-04-23 17:19:21 +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 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
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 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 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 b9de8ef7df WIP moving border, margin & padding out of nsStyleMolecule 1998-04-22 06:33:35 +00:00
buster 6378b17edb THEAD and TFOOT tags enabled 1998-04-21 16:36:46 +00:00
peterl 69f50285b9 added spacing and border structs 1998-04-21 00:02:44 +00:00
buster 494d1f714f table performance and minor bug fixes. 1998-04-20 22:49:15 +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 d504fcfb0c Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
peterl 6fb3bcb3e6 added a style hack to get P align attributes to work again 1998-04-16 22:21:45 +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
kipp 4717009d75 moved to pub 1998-04-13 20:24:54 +00:00