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: Mon, 24 Feb 2014 13:29:05 -0800
Message-ID: <CAAWBYDBqv3WqOLUHam=Xv_FYYZaqrEpVgpJj-N2Fqi49v3w6dw@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: Simon Pieters <simonp@opera.com>, Jirka Kosek <jirka@kosek.cz>, www-style <www-style@w3.org>
On Mon, Feb 24, 2014 at 1:26 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> On 24/02/2014 21:16, Tab Atkins Jr. wrote:
>> In type selectors, "foo" and "*" are treated differently wrt
>> namespaces when there's no default namespace.  "foo" is equivalent to
>> "|foo", but "*" is equivalent to "*|*".
>
> That is not the case.
>
> http://dev.w3.org/csswg/selectors4/#typenmsp says:
>
> E
>     if no default namespace has been declared for selectors, this is
> equivalent to *|E. Otherwise it is equivalent to ns|E where ns is the
> default namespace.

Argh, why am I incapable of *reading*?

~TJ
Received on Monday, 24 February 2014 21:29:52 UTC

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