[css3-values] wqname vs qname, attr(*|somename)

Hi,

The grammar css3-values defines the attribute name for attr() as wqname, 
which in css3-namespace is a "qualified names that allow wildcard 
prefixes". In other words, this declaration has valid syntax:

     content: attr(*|title);

But what is its meaning when the element has multiple attributes with 
this local name in different namespaces?

I suggest changing the grammar to use qname instead of wqname, so that 
wildcards are not allowed in attr().

-- 
Simon Sapin

Received on Tuesday, 16 October 2012 12:40:06 UTC