Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
spec:cssom-constants [2019/07/31 10:37] – Tombstone the page tabatkinsspec:cssom-constants [2021/09/01 09:44] (current) – more detail tabatkins
Line 3: Line 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. 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.
  
-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.+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''.
  
 (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.) (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.)
 
spec/cssom-constants.txt · Last modified: 2021/09/01 09:44 by tabatkins
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki