Re: [css-hierarchies] HTML style attribute

On 3/4/12 10:47 AM, Tab Atkins Jr. wrote:
> Good point.  "<el style='foo'>...</el>" can be thought of as a
> shorthand for "<el><style scoped>:scope { foo }</style></el>"

Except for the fact that it has totally different cascading behavior, 
right?  Though it's not clear to me whether the cascading behavior of 
<style scoped> is the right one...  It would make somewhat more sense if 
it cascaded in a separate level similar to inline style, I think.

The other thing to keep in mind when changing what @style does is that 
this is one of the few cases where the CSSOM is _very_ widely used. 
Which means that how all this stuff is exposed to the CSSOM becomes very 
important in terms of evaluating the impact of the change.

-Boris

Received on Tuesday, 6 March 2012 15:28:55 UTC