W3C home > Mailing lists > Public > www-style@w3.org > December 2007

Re: Parsing media queries

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 10 Dec 2007 14:41:57 +0100
To: "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org
Message-ID: <op.t24gb7db64w2qv@annevk-t60.oslo.opera.com>

On Mon, 19 Nov 2007 01:32:01 +0100, L. David Baron <dbaron@dbaron.org>  
> On Wednesday 2007-11-14 18:01 +0200, Henri Sivonen wrote:
>> I agree that it doesn't make sense to allow escapes. After all, the spec
>> are Basic Latin identifiers--not arbitrary strings.
> Have you tested what existing implementations do with character
> escapes?  (Assuming that those implementations support character
> escapes in CSS.)  In both media queries in HTML and in CSS?

http://tc.labs.opera.com/mediaqueries/parsing/022.htm tests it for HTML.  
Safari 3 supports escaping and Opera 9.5 doesn't.

> The implementation that I'd started to write for Mozilla would have
> accepted character escapes, although it wouldn't be too much extra
> work to disallow them in one or both modes.  But I expect
> implementors may default to accepting them.

I personally was sort of convinced by the argument that HTML entities do  
not work in CSS either.

Anne van Kesteren
Received on Monday, 10 December 2007 13:40:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:32 UTC