So http://dev.w3.org/csswg/css3-cascade/#cascade currently says: # Normal declarations from style attributes are considered to be # scoped to the element with the attribute, whereas important # declarations from style attributes are considered to be scoped # to the root element. [CSSSTYLEATTR] # # This odd handling of !important style attribute declarations is to # match the behavior defined in CSS Levels 1 and 2, where style # attributes simply have higher specificity than any other author # rules. [CSS21] This odd handling of !important style attribute declarations seems *inconsistent* with CSS Levels 1 and 2. I think it would be consistent if all declarations from style attributes were scoped to the element with the attribute. -David -- ๐ L. David Baron http://dbaron.org/ ๐ ๐ข Mozilla http://www.mozilla.org/ ๐Received on Wednesday, 19 December 2012 02:37:48 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:22 UTC