W3C home > Mailing lists > Public > www-style@w3.org > January 2010

Re: [css-style-attr] Update and grammar question

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 18 Jan 2010 13:19:40 -0800
Message-ID: <4B54D06C.1080003@inkedblade.net>
To: Bert Bos <bert@w3.org>
CC: "www-style@w3.org" <www-style@w3.org>
On 01/18/2010 10:40 AM, Bert Bos wrote:
>fantasai wrote:
>> Ok, I've updated the spec:
>>     http://dev.w3.org/csswg/css-style-attr/#syntax
>>
>> How does that look?
>
> Looks good, but shouldn't the grammar rule be
>
>      declaration-list
>        : S* declaration? [ ';' S* declaration? ]*
>        ;
>
> i.e., with two question marks? That's what CSS has and I think that's
> what we want here, too. Otherwise all of the following would be
> illegal:
>
>      style=""
>      style="; color: blue"
>      style="color: blue;"
>      style="color: blue;; margin: 1em"

Fixed. Requesting publication now.

~fantasai
Received on Monday, 18 January 2010 21:20:08 GMT

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