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

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 UTC