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

[css3-syntax] CSS escape sequences

From: Mathias Bynens <mathias@qiwi.be>
Date: Thu, 12 Jan 2012 11:35:48 +0100
Message-ID: <CACrCd9MbDNRTOiPtSu4u_MitcXJDchJQWgMEnTRmqreMFZ3rWw@mail.gmail.com>
To: www-style <www-style@w3.org>
http://www.w3.org/TR/css3-syntax/#characters defines CSS escape
sequences of the form `\000026` or `\26 `, both of which decode to
`&`.

WebKit browsers don’t support this syntax for characters outside the
BMP: https://bugs.webkit.org/show_bug.cgi?id=76152 For example,
`\1d306 ` or `\01d306` are supposed to be escape sequences for the
“tetragram for centre” symbol (U+1D306), but they don’t work in
WebKit.

There seems to be another way to escape these characters, namely by
breaking them up in UTF-16 code units: `\d834\df06 `. All browsers
except Gecko (https://bugzilla.mozilla.org/show_bug.cgi?id=717529)
seem to support this, even though this isn’t mentioned in the spec.

Should the spec be changed to reflect reality?
Received on Thursday, 12 January 2012 12:27:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:48 GMT