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

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 UTC