W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [css-hierarchies] HTML style attribute

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 06 Mar 2012 10:28:17 -0500
Message-ID: <4F562D11.7060906@mit.edu>
To: www-style@w3.org
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:13 UTC