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>

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:22 UTC