Skip to content

Commit c512911

Browse files
author
Simon Pieters
committed
[cssom] U+007F should still be escaped in serialization, oops. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=25500
1 parent 1a82a95 commit c512911

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

cssom/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +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), then the character
331+
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or is U+007F, then the character
332332
<a href="#escape-a-character-as-code-point" title="escape a character as code point">escaped as code point</a>.</li>
333333
<li>If the character is the first character and is in the range [0-9]
334334
(U+0030 to U+0039), then the character
@@ -354,7 +354,7 @@ <h3 id="common-serializing-idioms"><span class="secno">3.1 </span>Common Seriali
354354
<ul>
355355
<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
356356
<code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#invalidcharactererror">InvalidCharacterError</a></code> exception and terminate these steps.</li>
357-
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F), the character
357+
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or is U+007F, the character
358358
<a href="#escape-a-character-as-code-point" title="escape a character as code point">escaped as code point</a>.</li>
359359
<li>If the character is '"' (U+0022) or "<code title="">\</code>"
360360
(U+005C), the <a href="#escape-a-character" title="escape a character">escaped</a> character.</li>

cssom/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +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), then the character
248+
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or is U+007F, then the character
249249
<span title="escape a character as code point">escaped as code point</span>.</li>
250250
<li>If the character is the first character and is in the range [0-9]
251251
(U+0030 to U+0039), then the character
@@ -271,7 +271,7 @@ <h3>Common Serializing Idioms</h3>
271271
<ul>
272272
<li>If the character is NULL (U+0000), then <span data-anolis-spec=dom title=concept-throw>throw</span> an
273273
<code data-anolis-spec=dom>InvalidCharacterError</code> exception and terminate these steps.</li>
274-
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F), the character
274+
<li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or is U+007F, the character
275275
<span title="escape a character as code point">escaped as code point</span>.</li>
276276
<li>If the character is '"' (U+0022) or "<code title>\</code>"
277277
(U+005C), the <span title="escape a character">escaped</span> character.</li>

0 commit comments

Comments
 (0)