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

On Thursday 2013-01-03 16:24 +0100, Simon Sapin wrote:
> 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.

I'd been meaning to post about this in reference to
https://bugzilla.mozilla.org/show_bug.cgi?id=751805 ; I think it
should be allowed to be escaped, since otherwise it's inconsistent
with all other CSS syntax (unless there's some other inconsistency
that I'm missing).

-David

-- 
π„ž   L. David Baron                         http://dbaron.org/   𝄂
𝄒   Mozilla                           http://www.mozilla.org/   𝄂

Received on Thursday, 3 January 2013 15:46:24 UTC