This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
spec:cssom-constants [2012/04/24 09:53] – [CSSOM Constants] astearns | spec:cssom-constants [2019/07/22 16:34] – [CSSRule.type enumeration] add @property to the table tabatkins | ||
---|---|---|---|
Line 3: | Line 3: | ||
This page lists all standardized CSSOM constants in CSS to avoid the creation of conflicting specs. Vendor-specific features and experimental implementations must use numbers greater than 1000: the 0-1000 range is reserved by the CSS Working Group. | This page lists all standardized CSSOM constants in CSS to avoid the creation of conflicting specs. Vendor-specific features and experimental implementations must use numbers greater than 1000: the 0-1000 range is reserved by the CSS Working Group. | ||
- | | 0 | - | Not assigned; was UNKNOWN_RULE in DOM-Level-2-Style | | + | ====== CSSRule.type enumeration ====== |
+ | |||
+ | | 0 | - | reserved; formerly | ||
| 1 | STYLE_RULE | CSSOM | | | 1 | STYLE_RULE | CSSOM | | ||
- | | 2 | - | Not assigned; was CHARSET_RULE | + | | 2 | CHARSET_RULE |
| 3 | IMPORT_RULE | CSSOM | | | 3 | IMPORT_RULE | CSSOM | | ||
| 4 | MEDIA_RULE | CSSOM | | | 4 | MEDIA_RULE | CSSOM | | ||
Line 12: | Line 14: | ||
| 7 | KEYFRAMES_RULE | css3-animations | | | 7 | KEYFRAMES_RULE | css3-animations | | ||
| 8 | KEYFRAME_RULE | css3-animations | | | 8 | KEYFRAME_RULE | css3-animations | | ||
- | | 9 | - | likely COLOR_PROFILE, | + | | 9 | MARGIN_RULE |
| 10 | NAMESPACE_RULE | CSSOM | | | 10 | NAMESPACE_RULE | CSSOM | | ||
| 11 | COUNTER_STYLE_RULE | css3-lists | | | 11 | COUNTER_STYLE_RULE | css3-lists | | ||
Line 20: | Line 22: | ||
| 15 | VIEWPORT_RULE | css-device-adapt | | | 15 | VIEWPORT_RULE | css-device-adapt | | ||
| 16 | REGION_STYLE_RULE | proposed for css3-regions| | | 16 | REGION_STYLE_RULE | proposed for css3-regions| | ||
+ | | 17 | CUSTOM_MEDIA_RULE | mediaqueries | | ||
+ | | 18 | PROPERTY_RULE | css-properties-values-api | | ||
+ | | ... 999 | - | reserved for future standardization | | ||
- | ====== CSSOM experimental | + | ====== CSSOM Experimental |
Constants for proposals that have yet to be accepted by the working group are listed below. | Constants for proposals that have yet to be accepted by the working group are listed below. | ||
|1000| TEXT_TRANSFORM_RULE | proposed for css3-text| | |1000| TEXT_TRANSFORM_RULE | proposed for css3-text| | ||
+ | |1001| HOST_RULE | proposed for Shadow DOM| | ||
====== CSSOM Vendor Constants ====== | ====== CSSOM Vendor Constants ====== |