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

Re: [css3-syntax] Escaping U, R or L in url() tokens

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Fri, 04 Jan 2013 13:26:37 +0100
Message-ID: <50E6CA7D.7020101@kozea.fr>
To: www-style@w3.org
Le 03/01/2013 16:24, Simon Sapin a ťcrit :
> Hi,
> In both CSS 2.1 and the css3-syntax ED, url( is ASCII case-insensitive
> but can not be escaped. This looks deliberate to be, but Iím told that
> it could be an oversight. Itís a bit inconsistent with at-rules.
> According to this test case:
> data:text/html,<style>@import \75rl(data:,body{background:green)
> Ö url( can be escaped in Firefox and Opera but not in Chromium.
> I donít think this ever is a problem in practice. We should just settle
> one way or the other, have it in a test suite and move on.

Actually, this has been raised and accepted before. It seems the edit 
was just never made.


In terms of css3-syntax, itís probably easiest to handle this in the 
ident-rest state. Attached is a patch for doing so for both URLs and 
unicode ranges.

Simon Sapin

Received on Friday, 4 January 2013 12:27:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:07 UTC