Re: [selectors-nonelement] ::attr(*|localname), ::attr(ns|*), and ::attr(*)

On 06/03/2014 16:45, Tab Atkins Jr. wrote:
>>> If the <na-name> is an <ident>, the selector matches attributes with
>>> that name. If the <na-name> is a * character, the selector matches
>>> any attribute.
>>
>>
>> I would replace "any attribute" with "attributes with any name".
>> ::attr(ns|*) and ::attr(|*) are still subject to namespace filtering.
> That seems to apply to the first clause, too, right?

The first clause says "matches attributes in any namespace". The 
difference is subtle, but only the latter gave me the impression it 
meant the wrong thing.


> What I was trying to do with this structure is set up a filter in
> each of the paragraphs, one based on namespace and one based on name,
> and then combine them in the following paragraph.

-- 
Simon Sapin

Received on Thursday, 6 March 2014 17:04:27 UTC