- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 16 Jan 2014 15:30:20 -0800
- To: Simon Sapin <simon.sapin@exyr.org>
- Cc: www-style <www-style@w3.org>
On Thu, Jan 16, 2014 at 7:51 AM, Simon Sapin <simon.sapin@exyr.org> wrote: > Hi, > > The current draft contains: > >> The specificity of a :matches() pseudo-class is the specificity of >> the most specific complex selector that matched. > > > For a :matches() pseudo-class with multiple complex selector arguments, > different elements can match a different subsets of these complex selectors, > resulting in a different specificity. > > This means that the specificity of a selector depends on the element being > matched, and is not a property of only that selector. > > > I’d like this to be more obvious in the spec. Maybe start the section with > "A selector's specificity is calculated for a given element as follows" > instead of "A selector's specificity is calculated as follows", or add a > note. Done. ~TJ
Received on Thursday, 16 January 2014 23:31:07 UTC