W3C home > Mailing lists > Public > www-style@w3.org > October 2012

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

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Tue, 16 Oct 2012 14:39:42 +0200
Message-ID: <507D558E.9090702@kozea.fr>
To: WWW Style <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT