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

Re: [css3-values] Undefined namespace prefix in attr()

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 16 Oct 2012 10:45:59 -0700
Message-ID: <CAAWBYDAtxrkW7OVg39+s0zeyKW9jkqVxsvR3Axsc8LaBLS1iYQ@mail.gmail.com>
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: WWW Style <www-style@w3.org>
On Tue, Oct 16, 2012 at 5:53 AM, Simon Sapin <simon.sapin@kozea.fr> wrote:
> From css3-namespace:
>> CSS qualified names can be used in (for example) selectors and
>> property values as described in other modules. Those modules must
>> define handling of namespace prefixes that have not been properly
>> declared. Such handling should treat undeclared namespace prefixes as
>> a parsing error that will cause the selector or declaration (etc.) to
>> be considered invalid and, in CSS, ignored.
> css3-values uses qualified names in attr(), but does not define the error
> handling for undeclared prefixes. (Or did I miss it?)
> Proposed change: in the list after "The attr() expression is only valid if",
> add an item:
>  # The attribute name is not qualified with an undeclared
>  # namespace prefix.
> (I don’t like the double negation, but I can’t find a better wording for
> now.)

Nope, we simply don't handle it.  Didn't consider that we'd need to.  Fixed.

Received on Tuesday, 16 October 2012 17:46:47 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:20 UTC