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

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

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 3 Jan 2013 10:45:56 -0500
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: www-style@w3.org
Message-ID: <20130103154556.GA3786@crum.dbaron.org>
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).


π„ž   L. David Baron                         http://dbaron.org/   𝄂
𝄒   Mozilla                           http://www.mozilla.org/   𝄂
Received on Thursday, 3 January 2013 15:46:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:25 UTC