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

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