- From: L. David Baron <dbaron@dbaron.org>
- Date: Tue, 18 Dec 2012 17:15:14 -0500
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Franรงois REMY <francois.remy.dev@outlook.com>, www-style list <www-style@w3.org>
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