Skip to content

Commit 6a68e0d

Browse files
author
Simon Pieters
committed
[cssom] Don't escape 7f-9f when serializing identifiers and strings. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=25500
1 parent 12f125a commit 6a68e0d

2 files changed

Lines changed: 8 additions & 10 deletions

File tree

cssom/Overview.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<h1>CSS Object Model (CSSOM)</h1>
1717

1818

19-
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 28 April 2014</h2>
19+
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 30 April 2014</h2>
2020

2121
<dl>
2222

@@ -90,7 +90,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2>
9090
can be found in the
9191
<a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em>
9292

93-
<p class="dontpublish">This is the 28 April 2014 Editor's Draft of CSSOM. Please send comments to
93+
<p class="dontpublish">This is the 30 April 2014 Editor's Draft of CSSOM. Please send comments to
9494
<a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a>
9595
(<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
9696
with <samp>[cssom]</samp> at the start of the subject line.
@@ -328,8 +328,7 @@ <h3 id="common-serializing-idioms"><span class="secno">3.1 </span>Common Seriali
328328
<ul>
329329
<li>If the character is NULL (U+0000), then <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> an
330330
<code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#invalidcharactererror">InvalidCharacterError</a></code> exception and terminate these steps.</li>
331-
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or
332-
[\7f-\9f] (U+007F to U+009F), then the character
331+
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F), then the character
333332
<a href="#escape-a-character-as-code-point" title="escape a character as code point">escaped as code point</a>.</li>
334333
<li>If the character is the first character and is in the range [0-9]
335334
(U+0030 to U+0039), then the character
@@ -358,8 +357,8 @@ <h3 id="common-serializing-idioms"><span class="secno">3.1 </span>Common Seriali
358357
<ul>
359358
<li>If the character is NULL (U+0000), then <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> an
360359
<code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#invalidcharactererror">InvalidCharacterError</a></code> exception and terminate these steps.</li>
361-
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or [\7f-\9f] (U+007F to
362-
U+009F), the character <a href="#escape-a-character-as-code-point" title="escape a character as code point">escaped as code point</a>.</li>
360+
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F), the character
361+
<a href="#escape-a-character-as-code-point" title="escape a character as code point">escaped as code point</a>.</li>
363362
<li>If the character is '"' (U+0022) or "<code title="">\</code>"
364363
(U+005C), the <a href="#escape-a-character" title="escape a character">escaped</a> character.</li>
365364
<li>Otherwise, the character itself.</li>

cssom/Overview.src.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,7 @@ <h3>Common Serializing Idioms</h3>
245245
<ul>
246246
<li>If the character is NULL (U+0000), then <span data-anolis-spec=dom title=concept-throw>throw</span> an
247247
<code data-anolis-spec=dom>InvalidCharacterError</code> exception and terminate these steps.</li>
248-
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or
249-
[\7f-\9f] (U+007F to U+009F), then the character
248+
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F), then the character
250249
<span title="escape a character as code point">escaped as code point</span>.</li>
251250
<li>If the character is the first character and is in the range [0-9]
252251
(U+0030 to U+0039), then the character
@@ -275,8 +274,8 @@ <h3>Common Serializing Idioms</h3>
275274
<ul>
276275
<li>If the character is NULL (U+0000), then <span data-anolis-spec=dom title=concept-throw>throw</span> an
277276
<code data-anolis-spec=dom>InvalidCharacterError</code> exception and terminate these steps.</li>
278-
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or [\7f-\9f] (U+007F to
279-
U+009F), the character <span title="escape a character as code point">escaped as code point</span>.</li>
277+
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F), the character
278+
<span title="escape a character as code point">escaped as code point</span>.</li>
280279
<li>If the character is '"' (U+0022) or "<code title>\</code>"
281280
(U+005C), the <span title="escape a character">escaped</span> character.</li>
282281
<li>Otherwise, the character itself.</li>

0 commit comments

Comments
 (0)