W3C home > Mailing lists > Public > www-style@w3.org > July 2008

RE: error in CSS 2.1 grammar

From: Refstrup, Jacob Grundtvig <jacob.refstrup@hp.com>
Date: Thu, 3 Jul 2008 19:18:47 +0000
To: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <59DD1BA8FD3C0F4C90771C18F2B5B53A210E3416A2@GVW0432EXB.americas.hpqcorp.net>
fantasai wrote:
> Daniel Glazman wrote:
> >
> > The current spec says
> >
> >   O        o|\\0{0,4}(51|71)(\r\n|[ \t\r\n\f])?|\\o
> >
> > where it should read
> >
> >   O        o|\\0{0,4}(4f|6f)(\r\n|[ \t\r\n\f])?|\\o
>
> Added as Issue 55, assigned to CSS2.1 editor.
>    http://csswg.inkedblade.net/spec/css2.1#issue-55
>

Based on how I read the spec it means that

@im\p\00004frt

Is equivalent to

@import

Similarly, '@\m\65 \64 \i\61 ' is equivalent to '@media'.

I can venture a quess as to why this is (something along the lines of preparsing escaped characters) -- but it doesn't seem like this is supported by Opera 9.51 or the latest from webkit/safari (see attached test case for @media). Firefox 3.0 does appear to support it.

- Jacob



Received on Friday, 4 July 2008 09:02:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:10 GMT