Re: [css-hierarchies] HTML style attribute

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.

</Daniel>

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