Commit Graph

560 Commits

Author SHA1 Message Date
kipp@netscape.com
387ac920bf Allow negative values for clip rects as per css spec 1999-04-10 17:33:09 +00:00
peterl@netscape.com
5d077a32db added -moz-border-radius 1999-04-03 03:15:01 +00:00
peterl@netscape.com
4efbede28b fixed bug in parsing backgrounds 1999-03-28 04:29:57 +00:00
peterl@netscape.com
35692d02ed fix whitespace handling on attribute selectors 1999-03-25 06:42:42 +00:00
peterl@netscape.com
822bb5d604 added child & sibling selectors 1999-02-27 07:15:59 +00:00
troy@netscape.com
2ba9669041 Added cast to get it to compile 1999-02-14 06:10:51 +00:00
kipp@netscape.com
74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl@netscape.com
3f01d94bb1 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
peterl@netscape.com
337bb5d696 made class selectors case sensitive
moved case-insensitive support for attribute values to style sheet
1999-02-11 06:41:21 +00:00
peterl@netscape.com
1f4719b726 Improved handling of bad properties 1999-02-10 08:37:52 +00:00
peterl@netscape.com
49c3432681 added capturing selector source text (to preserve namespace prefixes) 1999-02-07 21:48:27 +00:00
peterl@netscape.com
9bbc13861f improvements to parsing @import, HTML comments and identifiers 1999-02-03 02:59:51 +00:00
peterl@netscape.com
e6f8f0a111 made media case insensitive (for now) 1999-01-23 07:08:11 +00:00
troy@netscape.com
4eb5178240 Fixed it so that box offsets (left/right/top/bottom) can be negative numbers 1999-01-15 22:09:15 +00:00
peterl@netscape.com
ee2b05a4c3 better base URL support
better parsing of media types (per HTML4.0 spec)
enforce pseudo element sepectors at end of seletor list

Checkin during red tree approved by sar
1999-01-15 02:06:13 +00:00
harishd@netscape.com
d88254afcd Added code to take care of CSS properties
that wouldn't allow negative values.
1999-01-06 19:25:25 +00:00
peterl@netscape.com
4242964784 fix spelling 1998-12-21 05:58:58 +00:00
peterl@netscape.com
4c9152d11d fixes to attribute selector parsing 1998-12-20 01:15:18 +00:00
warren@netscape.com
4aaec0bad1 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
peterl@netscape.com
61f3d28962 added support for CSS2 selector syntax 1998-12-11 02:50:43 +00:00
peterl@netscape.com
f433966804 added media support to import 1998-12-02 00:36:37 +00:00
peterl@netscape.com
a4d3b376d5 added media support to @import 1998-11-26 05:16:22 +00:00
peterl@netscape.com
b3f287d4fe style change notification support 1998-11-26 01:34:53 +00:00
peterl@netscape.com
625c6516a4 sync to declaration api change 1998-11-06 00:52:30 +00:00
kipp@netscape.com
ccd614d11e Fixed oopsie in the hint storage check 1998-10-28 02:04:06 +00:00
peterl@netscape.com
359ccda12b added the first Nav Quirk, when on, we now interpret numbers without units as pixel units 1998-10-28 01:12:38 +00:00
peterl@netscape.com
2f643e8b11 added CSS2 property handling 1998-10-26 23:22:40 +00:00
kipp@netscape.com
f1df6ca050 Temporary work around to setting hint better 1998-10-14 23:46:02 +00:00
vidur@netscape.com
5e881108dc Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports. 1998-10-06 01:39:33 +00:00
troy@netscape.com
c371e30eac Changed some code to use XPCOM ref counting related macros 1998-10-05 05:11:18 +00:00
peterl@netscape.com
ccd7e5084a make text decoration always an enum 1998-09-30 01:08:44 +00:00
peterl@netscape.com
1250b47a85 added change hint to parse declaration 1998-09-29 23:50:09 +00:00
kipp@netscape.com
a4dd11e83e Fixed the value of the background-image property when it's not set in the composite background property 1998-09-25 23:35:55 +00:00
kipp@netscape.com
7760fb5470 Backed out last change since it was too aggressive 1998-09-25 22:53:48 +00:00
kipp@netscape.com
5aad32b864 Made SkipRuleSet actually work 1998-09-25 18:17:48 +00:00
peterl@netscape.com
ddbd09da0a fixed bug preventing properties from parsing if followed by whitespace.
ie: color : blue didn't work
1998-09-25 01:50:34 +00:00
vidur@netscape.com
85ebec76c8 Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration. 1998-09-25 00:51:45 +00:00
kipp@netscape.com
7855c43722 Fixed parsing of margins to allow for auto values 1998-09-23 02:35:10 +00:00
kipp@netscape.com
b612752447 Support length values for vertical-align 1998-09-11 04:15:03 +00:00
peterl@netscape.com
f9ebb96032 fixed filtering of valid ID selectors 1998-09-10 01:18:06 +00:00
peterl@netscape.com
dbfa9ad747 fixed processing of font face (preserve original quotes) 1998-08-07 02:17:56 +00:00
kostello@netscape.com
826f846a0e 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.
1998-07-17 23:00:54 +00:00
peterl@netscape.com
bcc2fd4d51 fixed @import parsing
rejected malformed id selectors
sync to declaration api change
1998-07-17 05:50:07 +00:00
peterl
1c345fc6a2 added ! important support 1998-06-26 05:51:55 +00:00
buster
3ed8a1b541 Separated table content from table layout. This paves the way for XML/CSS-2 tables.
Lots and lots of optimizations.
1998-06-17 16:38:24 +00:00
kipp
13d8cf655d 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
2ee8d1b7a2 Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
kipp
f8ad4d5100 Parse (and ignore) important declarations 1998-05-27 23:38:16 +00:00
peterl
0a71b948e7 moved attributes around 1998-05-26 23:16:55 +00:00
peterl
5fb4fa8991 added pseudo-class rule matching 1998-05-19 00:09:29 +00:00