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 21:27:41 +0000
Message-ID: <530BB94D.8090704@exyr.org>
To: "Tab Atkins Jr." <jackalmage@gmail.com>, Simon Pieters <simonp@opera.com>
CC: Jirka Kosek <jirka@kosek.cz>, www-style <www-style@w3.org>
On 24/02/2014 21:13, Tab Atkins Jr. wrote:
> Nah, I got it wrong with Selectors.  In a type selector, "*" is
> equivalent to "*|*" if there's no default namespace set; otherwise
> it's equivalent to "ns|*".  I*thought*  it was equivalent to "|*", but
> I was wrong.
>
> So yeah, Jirka's right, ::attr(*) should be equivalent to ::attr(*|*)
> in the absence of a default namespace.

In that case, shouldn’t ::attr(href) be equivalent to ::attr(*|href), 
for consistency?

-- 
Simon Sapin
Received on Monday, 24 February 2014 21:28:07 UTC

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