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

On Tue, Feb 18, 2014 at 3:27 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> On 18/02/2014 22:17, Tab Atkins Jr. wrote:
>> I made sure to retain all the clarifications that Jirka put into the
>> draft to address your comments.
>
> The ED now says:
>>
>> If the prefix is omitted, the selector only matches attributes in no
>> namespace.
>
> … which applies to both ::attr(foo) and ::attr(*)
>
> I like the consistency, but it means that "give me all the things" must be
> written ::attr(*|*) rather than just ::attr(*), which doesn’t seem to be
> what Jirka wanted.

That's consistent with what Selectors does for type selectors, though.
 I'd be extremely loathe to break that consistency.

~TJ

Received on Wednesday, 19 February 2014 00:43:55 UTC