Commit Graph

301 Commits

Author SHA1 Message Date
pierre%netscape.com
0ff017366d Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'. 2000-01-24 11:19:55 +00:00
hyatt%netscape.com
21a48fa26a adding behavior property to CSS. r=brendan 2000-01-11 03:40:41 +00:00
pierre%netscape.com
f1d11fe977 Bug 23236: In quirks mode, accept 'xxyyzz' colors even without '#' prefix 2000-01-08 10:11:10 +00:00
pierre%netscape.com
bdf8bc768d 16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft): nsCSSDeclaration.cpp nsCSSParser.cpp nsCSSPropList.h nsCSSStyleRule.cpp nsICSSDeclaration.h nsIStyleContext.h nsStyleContext.cpp nsCSSRendering.cpp 1999-12-22 11:27:10 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
peterl%netscape.com
cc76d235e4 store system colors as int rather than enums
return proper result code when setting system color
r=rods
1999-10-12 01:31:33 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
mgleeson1%netscape.com
675530c17a r=kipp changed illegal escape \{ to { 1999-10-06 01:41:38 +00:00
peterl%netscape.com
2fb6714797 fixed fix to bug 15373. Now it won't crash on EOF conditions 1999-10-02 04:23:00 +00:00
kipp%netscape.com
d26d687ef6 r=peterl; bug=15373; Fixed atom memory leaky 1999-10-01 20:13:39 +00:00
kipp%netscape.com
c37ecb974c Removed atom table hacks 1999-09-30 21:17:28 +00:00
peterl%netscape.com
341ec82a84 reset pushback buffer when creating a new scanner
factored scanner creation code
1999-09-22 01:19:29 +00:00
kipp%netscape.com
3ced381a1a Zapped mCompatFloatMargin hack 1999-09-17 00:57:06 +00:00
kipp%netscape.com
aed7845101 Added in mCompatFloaterMargin 1999-09-16 19:55:28 +00:00
peterl%netscape.com
2c450d66f9 added first-node pseudo class (extension) 1999-09-11 00:08:30 +00:00
peterl%netscape.com
03b11a90a5 added system color parsing
fixed font weight parsing to be more strict
1999-09-10 05:55:36 +00:00
peterl%netscape.com
a8e65ff2a6 tracking UI & forms proposal changes 1999-09-03 23:40:35 +00:00
kipp%netscape.com
ca2b2003c6 Fixed an nsString usage oopsie 1999-09-02 18:02:52 +00:00
peterl%netscape.com
f12ab5112a made change hint smarter 1999-08-08 01:17:29 +00:00
peterl%netscape.com
7e3bd063e3 removed assert 1999-08-04 05:06:19 +00:00
peterl%netscape.com
3bf8f6b907 added experimental CSS3 properties 1999-07-24 19:04:42 +00:00
mscott%netscape.com
8392da15eb Necko Only!! Yuck. something was pretty bogus here...whenever we were parsing a url we'd create an empty
base url then try to turn the empty url into an absolute url which was returning an error. Looks like ParseURL would
never work.
1999-07-20 23:53:03 +00:00
mcafee%netscape.com
784b45d3ce minor warning fix 1999-07-20 20:24:28 +00:00
peterl%netscape.com
6de833e76e update to new property and keyword enums and apis
added 'ch' unit support
1999-07-18 00:31:37 +00:00
andreas.otte%primus-online.de
838f5a972b NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
peterl%netscape.com
ac97bf4bb2 hook up quirk mode 1999-07-07 01:29:49 +00:00
andreas.otte%primus-online.de
001ff1afea NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
valeski%netscape.com
32de4bf808 various #ifdef NECKO fixes. 1999-06-27 16:12:20 +00:00
warren%netscape.com
fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
warren%netscape.com
4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
peterl%netscape.com
d27ebaeab1 fixed skipping of unsupported at rules
made ID parsing CSS2 compliant
1999-06-22 19:22:41 +00:00
valeski%netscape.com
e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
peterl%netscape.com
8eae23158b sync to css loader api change (default namespace) 1999-06-15 06:22:46 +00:00
peterl%netscape.com
781a1b7b49 added support for @namespace & @media
stubbed out support for other @rules
sync to sheet api changes
1999-06-10 05:25:23 +00:00
peterl%netscape.com
19b2396eb8 better handling of bad @imports 1999-05-26 23:53:16 +00:00
peterl%netscape.com
8c7207edd4 added css loader for child sheet
added drag pseudo classes
fixed background parsing bug
1999-05-18 23:12:17 +00:00
rickg%netscape.com
1a3777a0b7 updates to sync with nsString2 api 1999-04-21 23:48:41 +00:00
peterl%netscape.com
aa95291e32 fixed pseudo element parsing 1999-04-15 21:22:41 +00:00
kipp%netscape.com
26c9966824 Allow negative values for clip rects as per css spec 1999-04-10 17:33:09 +00:00
peterl%netscape.com
f0b7fcff54 added -moz-border-radius 1999-04-03 03:15:01 +00:00
peterl%netscape.com
52d76ba2be fixed bug in parsing backgrounds 1999-03-28 04:29:57 +00:00
peterl%netscape.com
c93029d956 fix whitespace handling on attribute selectors 1999-03-25 06:42:42 +00:00
peterl%netscape.com
8e0f3b58c4 added child & sibling selectors 1999-02-27 07:15:59 +00:00
troy%netscape.com
07ce269f24 Added cast to get it to compile 1999-02-14 06:10:51 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl%netscape.com
7f04fb00e6 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
peterl%netscape.com
587f4aa26e 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
e3f642f33c Improved handling of bad properties 1999-02-10 08:37:52 +00:00
peterl%netscape.com
7d519ac6c1 added capturing selector source text (to preserve namespace prefixes) 1999-02-07 21:48:27 +00:00
peterl%netscape.com
6e34e5ef7c improvements to parsing @import, HTML comments and identifiers 1999-02-03 02:59:51 +00:00
peterl%netscape.com
870cd4ed7f made media case insensitive (for now) 1999-01-23 07:08:11 +00:00
troy%netscape.com
80866615d9 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
c925f3459e 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
55c83966cf 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
cdecfbc7dd fix spelling 1998-12-21 05:58:58 +00:00
peterl%netscape.com
7c4d428475 fixes to attribute selector parsing 1998-12-20 01:15:18 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
peterl%netscape.com
11b7d1b081 added support for CSS2 selector syntax 1998-12-11 02:50:43 +00:00
peterl%netscape.com
fd53cd27e2 added media support to import 1998-12-02 00:36:37 +00:00
peterl%netscape.com
90510e12e0 added media support to @import 1998-11-26 05:16:22 +00:00
peterl%netscape.com
e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
peterl%netscape.com
7b042ff290 sync to declaration api change 1998-11-06 00:52:30 +00:00
kipp%netscape.com
44596edbf4 Fixed oopsie in the hint storage check 1998-10-28 02:04:06 +00:00
peterl%netscape.com
859f1bee32 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
9e59e54ad2 added CSS2 property handling 1998-10-26 23:22:40 +00:00
kipp%netscape.com
32ea84d644 Temporary work around to setting hint better 1998-10-14 23:46:02 +00:00
vidur%netscape.com
7cff1485c8 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
fa70c38667 Changed some code to use XPCOM ref counting related macros 1998-10-05 05:11:18 +00:00
peterl%netscape.com
ec47856ca5 make text decoration always an enum 1998-09-30 01:08:44 +00:00
peterl%netscape.com
191c84a963 added change hint to parse declaration 1998-09-29 23:50:09 +00:00
kipp%netscape.com
dc09f46996 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
703d1f18a6 Backed out last change since it was too aggressive 1998-09-25 22:53:48 +00:00
kipp%netscape.com
931ab0fbb3 Made SkipRuleSet actually work 1998-09-25 18:17:48 +00:00
peterl%netscape.com
27b3193c87 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
b4fc446c94 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
dfe4d42ca1 Fixed parsing of margins to allow for auto values 1998-09-23 02:35:10 +00:00
kipp%netscape.com
37fb2e7a12 Support length values for vertical-align 1998-09-11 04:15:03 +00:00
peterl%netscape.com
b0238f71b5 fixed filtering of valid ID selectors 1998-09-10 01:18:06 +00:00
peterl%netscape.com
7c644d95bd fixed processing of font face (preserve original quotes) 1998-08-07 02:17:56 +00:00
kostello%netscape.com
e7dee8f2f4 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
af17e2c85b fixed @import parsing
rejected malformed id selectors
sync to declaration api change
1998-07-17 05:50:07 +00:00
peterl
5e48108666 added ! important support 1998-06-26 05:51:55 +00:00
buster
288d645ae3 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
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
72d77edcbb Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
kipp
9be967661a Parse (and ignore) important declarations 1998-05-27 23:38:16 +00:00
peterl
3fd983bcd3 moved attributes around 1998-05-26 23:16:55 +00:00
peterl
194cc28a2d added pseudo-class rule matching 1998-05-19 00:09:29 +00:00
peterl
93ce222761 added pseudo element support 1998-05-18 21:07:54 +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
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
peterl
257cc56544 update to new value class api 1998-04-30 19:57:36 +00:00
kipp
71728fe999 Allow for optional commas between clip rect elements 1998-04-28 15:24:44 +00:00
kipp
ccb9067008 Added in cursor and direction properties 1998-04-26 03:47:37 +00:00
kipp
cd1e827899 Updated to use new style constants 1998-04-25 18:44:17 +00:00
troy
3ccc988201 Fixed PROP_HEIGHT to use VARIANT_KLP (was using VARIANT_KL) 1998-04-24 02:43:42 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00