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.

~TJ
Received on Friday, 23 September 2011 18:47:44 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:44 GMT