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

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 UTC