W3C home > Mailing lists > Public > www-style@w3.org > April 2011

Re: [CSS21] url() parsing

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 23 Apr 2011 19:45:31 -0700
Message-ID: <4DB38ECB.3090700@inkedblade.net>
To: www-style@gtalbot.org
CC: "www-style@w3.org" <www-style@w3.org>
On 04/22/2011 07:23 PM, "Gérard Talbot" wrote:
>
> Le Ven 22 avril 2011 14:18, fantasai a écrit :
>> I believe this testcase
>>     http://test.csswg.org/suites/css2.1/20110323/html4/uri-015.htm
>>
>>     background: red U\r\4c ("support/swatch-green.png");
>
>
> "
> The format of a URI value is 'url(' followed (...)
> "
> http://www.w3.org/TR/CSS21/syndata.html#value-def-uri
>
> There is no blank space between "l" and "(" . So, that would be wrong
> grammar according to you?

No, the space gets consumed by the numeric escape. (The first
white space character after a numeric escape is considered
part of the escape sequence.)

>> is wrong according to the core grammar. But I'm not 100% sure...
>
> One thing is for sure. The text assert is wrong as written.

Ahah. Yes, you are right. Fixed. :) Thanks, Gérard.

~fantasai
Received on Sunday, 24 April 2011 02:46:02 GMT

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