W3C home > Mailing lists > Public > www-style@w3.org > September 2011

Re: [css3-values] syntax of attr()

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 23 Sep 2011 11:46:24 -0700
Message-ID: <CAAWBYDAWEnXmwnwsmqT3OEThA+UBQ_DdwEospyqKWR=fZeU5KA@mail.gmail.com>
To: Christoph Päper <christoph.paeper@crissov.de>
Cc: W3C Style <www-style@w3.org>
On Fri, Sep 23, 2011 at 11:32 AM, Christoph Päper
<christoph.paeper@crissov.de> wrote:
> fantasai:
>>  attr(<ident> as <type>, <fallback>)
> In a host language that allowed whitespace in attribute names, e.g. “[element background color: blue]”, the comma probably could work as a boundary, but ‘as’ couldn’t. That’s not a frequent scenario of course.

Such a language would have to escape the space when using attribute
selectors already, and would presumably have to do the same here.

Received on Friday, 23 September 2011 18:47:44 UTC

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