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

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> ?

-- 
Simon Sapin

Received on Tuesday, 14 October 2014 04:56:43 UTC