Re: [css-syntax] This change in url() tokenization looks wrong

On Mon, Oct 13, 2014 at 9:55 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> https://dvcs.w3.org/hg/csswg/rev/9fdb78b42060 looks wrong:
>> whitespace
>>
>> Consume as much whitespace as possible. If the next input code point
>> is U+0029 RIGHT PARENTHESIS ()) or EOF, consume it and return the
>> <url-token>; otherwise, consume the remnants of a bad url, create a
>> <bad-url-token>, and return it.
>
>
> So url( a) is a <bad-url-token> ?

Ah, *that's* why I had the "redundant" early steps - to allow
whitespace only at the beginning or end.  I'll revert.

~TJ

Received on Tuesday, 14 October 2014 18:42:50 UTC