This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25500 - Don't escape U+0080 to U+009F in identifiers (and strings)
Summary: Don't escape U+0080 to U+009F in identifiers (and strings)
Status: RESOLVED FIXED
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-29 14:03 UTC by Jens Widell
Modified: 2014-04-30 09:44 UTC (History)
1 user (show)

See Also:


Attachments

Description Jens Widell 2014-04-29 14:03:43 UTC
Characters in this range were made valid (part of "non-ASCII code point") as part of this errata:

http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.4.1.1b

It's unclear why they should be escaped when serializing.
Comment 2 Jens Widell 2014-04-30 07:02:06 UTC
U+007F, which was not covered by the errata, went from being escaped as code point to being escaped.  Intentional?
Comment 3 Simon Pieters 2014-04-30 07:45:38 UTC
You mean, went to being not escaped? No, that was bogus, DELETE still needs to be escaped. Thanks. https://dvcs.w3.org/hg/csswg/rev/2c75e9e61710
Comment 4 Simon Pieters 2014-04-30 07:47:52 UTC
(In reply to Simon Pieters from comment #3)
> You mean, went to being not escaped?

...nevermind. :-)
Comment 5 Mathias Bynens 2014-04-30 09:44:56 UTC
Polyfill + tests updated: https://github.com/mathiasbynens/CSS.escape/commit/8e44737c50e0fb14a28d2c7180237935ed3787a2