W3C home > Mailing lists > Public > www-style@w3.org > February 2014

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 18 Feb 2014 16:43:06 -0800
Message-ID: <CAAWBYDD5uK642TFkrJHj77R1iprHhqZkEN8AbdstvUJ177EecA@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: Jirka Kosek <jirka@kosek.cz>, www-style <www-style@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC