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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 16 Oct 2012 13:31:09 -0700
Message-ID: <507DC40D.5080103@inkedblade.net>
To: www-style@w3.org
On 10/16/2012 10:41 AM, Tab Atkins Jr. wrote:
> On Tue, Oct 16, 2012 at 5:39 AM, Simon Sapin <simon.sapin@kozea.fr> wrote:
>> 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().
>
> That's a good point.  fantasai, thoughts?

Seems reasonable to me. Fixed.

~fantasai
Received on Tuesday, 16 October 2012 20:31:39 GMT

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