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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 16 Oct 2012 10:41:52 -0700
Message-ID: <CAAWBYDA1xVxafNdBfQWOpx3zbtwzS9a-usKW2OSTntU6AyejGA@mail.gmail.com>
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: WWW Style <www-style@w3.org>
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?

Received on Tuesday, 16 October 2012 17:42:40 UTC

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