ISSUE-147: [css3-syntax] CSS escape sequences

[css3-syntax] CSS escape sequences

State:
CLOSED
Product:
css-syntax
Raised by:
Richard Ishida
Opened on:
2012-01-20
Description:
Thread: http://lists.w3.org/Archives/Public/www-style/2012Jan/0536.html

From: Mathias Bynens <mathias@qiwi.be>
Date: Thu, 12 Jan 2012 11:35:48 +0100

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?
Related Actions Items:
No related actions
Related emails:
  1. Review of tracker issues for best practices (Part V) (from addison@lab126.com on 2015-04-09)
  2. [minutes] i18n telecon 2012-04-25 (from ishida@w3.org on 2012-05-02)
  3. Re: non-support of using surrogate pairs in CSS escapes [I18N-ACTION-90] [I18N-ISSUE-147] (from mathias@qiwi.be on 2012-02-01)
  4. Re: non-support of using surrogate pairs in CSS escapes [I18N-ACTION-90] [I18N-ISSUE-147] (from jackalmage@gmail.com on 2012-02-01)
  5. non-support of using surrogate pairs in CSS escapes [I18N-ACTION-90] [I18N-ISSUE-147] (from addison@lab126.com on 2012-01-31)
  6. [minutes] i18n telecon 2012-01-25 (from ishida@w3.org on 2012-01-25)
  7. I18N-ISSUE-147: [css3-syntax] CSS escape sequences [CSS-mail] (from sysbot+tracker@w3.org on 2012-01-20)

Related notes:


From Mathias Bynens:
"I’ve updated the WebKit bug asking to remove their support for
the non-standard syntax[1]. (FTR, here’s the WebKit bug regarding
support for standard CSS escape sequences for supplementary characters[2].)

I also closed the Gecko bug discussing whether or not to support
the non-standard surrogate-pair syntax[3] as invalid, filed Opera
bug DSK-356580, and IE bug 722267 asking to remove support for
the non-standard syntax[4]."

Ready to close.

Richard Ishida, 13 Apr 2012, 15:20:17

Changelog:

Created issue '[css3-syntax] CSS escape sequences' nickname owned by Richard Ishida on product CSS-mail, description 'Thread: http://lists.w3.org/Archives/Public/www-style/2012Jan/0536.html

From: Mathias Bynens <mathias@qiwi.be>
Date: Thu, 12 Jan 2012 11:35:48 +0100

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?' non-public

Richard Ishida, 20 Jan 2012, 18:21:54

Status changed to 'closed'

25 Apr 2012, 15:21:41

Product changed to css3-syntax

Richard Ishida, 3 Jun 2014, 17:03:31


Addison Phillips <addison@amazon.com>, Chair, Richard Ishida <ishida@w3.org>, Bert Bos <bert@w3.org>, Fuqiao Xue <xfq@w3.org>, Atsushi Shimono <atsushi@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $