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

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

From: Simon Sapin <simon.sapin@exyr.org>
Date: Mon, 24 Feb 2014 13:31:22 +0000
Message-ID: <530B49AA.1080103@exyr.org>
To: Simon Pieters <simonp@opera.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Jirka Kosek <jirka@kosek.cz>
CC: www-style <www-style@w3.org>
On 24/02/2014 13:01, Simon Pieters wrote:
> I'm not Tab but I think the reasoning is as follows:
>
> * and foo are equivalent for the namespace part, i.e. same as *|* and
> *|foo or ns|* and ns|foo
>
> hence
>
> ::attr(*) and ::attr(foo) should also be equivalent for the namespace
> part, i.e. same as ::attr(|*) and ::attr(|foo)

I think this is fine if we add a note in the spec saying something like 
"Use <code>::attr(*|*)</code> to select all attributes."

-- 
Simon Sapin
Received on Monday, 24 February 2014 13:31:51 UTC

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