Re: [css3-syntax] CSS escape sequences

On Thu, Jan 12, 2012 at 3:14 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> I do have a question about implementations.  Gecko treats escapes as Unicode
> characters (so in particular escapes in the surrogate ranges are treated as
> invalid and replaced by U+FFFD).  It sounds like WebKit treats them as
> Unicode codepoints, period (no support for direct escapes outside the BMP).

That is correct. See https://bugs.webkit.org/show_bug.cgi?id=76152.

>  What do Presto and Trident actually do?  Do they allow both codepoint
> escapes and character escapes?  Or do they do what WebKit does?

Presto and Trident allow both. http://jsfiddle.net/mathias/jY7ra/

Only Gecko and WebKit are exceptions here, in that Gecko is the only
browser to not support the (currently) invalid syntax, and WebKit is
the only one not to support the correct syntax for characters outside
the BMP.

Received on Thursday, 12 January 2012 16:14:56 UTC