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.

</Daniel>
Received on Friday, 9 December 2011 17:24:53 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:47 GMT