Re: Parsing media queries

On Mon, 19 Nov 2007 01:32:01 +0100, L. David Baron <dbaron@dbaron.org>  
wrote:
> 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
<http://annevankesteren.nl/>
<http://www.opera.com/>

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