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

Re: [css-hierarchies] HTML style attribute

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Tue, 06 Mar 2012 17:53:53 +0100
Message-ID: <4F564121.7040402@disruptive-innovations.com>
To: www-style@w3.org
Le 06/03/12 16:28, Boris Zbarsky a écrit :
> 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.

Aaaaaahhhh. Finally ! I have kept saying for years that scoped
stylesheets should probably NOT have the specificity of the same
rules if they were not scoped. Here we are, finally.
100% agreed.

Received on Tuesday, 6 March 2012 16:54:20 UTC

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