You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/cssom-constants.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,6 @@
2
2
3
3
This page previously listed the CSSRule constants, used to identify which rule a given ''CSSRule.type'' integer was associated with. It was intended to help with coordinating new integer additions across specifications.
4
4
5
-
As the ''.type'' attribute is now deprecated and no new values will be minted for it (and all existing values have been inlined into the CSSOM spec), this page has been tombstoned.
5
+
As the ''.type'' attribute is now deprecated and no new values will be minted for it (and all existing values have been inlined into the CSSOM spec), this page has been tombstoned. All new at-rules just return ''0'' for the attribute, and do not define constants on ''CSSRule''.
6
6
7
7
(If you're trying to identify which rule a given CSSRule-subclass object is, check ''rule.constructor.name'', which returns the class name as a string.)
0 commit comments