W3C home > Mailing lists > Public > www-style@w3.org > December 2011

Re: <style scoped>: matching the scoping element and :first-child et al

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Fri, 09 Dec 2011 18:24:20 +0100
Message-ID: <4EE24444.6010306@disruptive-innovations.com>
To: www-style@w3.org
Le 09/12/11 17:59, Yehuda Katz a écrit :

>     Definitely allow it.  It's not only good sense (to me), but it also
>     keeps with the design principle that scoping should generally be
>     similar to just appending an id to all the selectors.
> Agreed.

They're not totally "similar to just appending an id to all the
selectors" because the specificity is unchanged. I'm a long-time
advocate of increasing the specificity of all scoped selectors of
an ID selector's specificity.

Received on Friday, 9 December 2011 17:24:53 UTC

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