Bugzilla – Bug 20958
[Shadow]: Consider dropping resetStyleInheritance in favor of a CSS property
Last modified: 2014-02-12 05:28:24 UTC
resetStyleInheritance in favor of CSS's new 'all' property
<http://dev.w3.org/csswg/css3-cascade/#all-shorthand>. Doing so would
be fine, technically - the property accomplishes the same thing as the
attribute - but it falls down on usability. We want to *default* to
having an inheritance shield, and let the author lower it if they
choose, but you can't "unset" a property; if we start with "all:
default" set, the author can't remove the declaration and lower the
shield. If we kept the attribute and simply implemented it as the
'all' property using an attribute selector, though, it all works out.
Also see bug 20957 for more context.
This is doable now.