- From: Simon Sapin <simon.sapin@exyr.org>
- Date: Thu, 16 Jan 2014 15:51:14 +0000
- To: www-style <www-style@w3.org>
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. -- Simon Sapin
Received on Thursday, 16 January 2014 15:51:41 UTC