[cssom] Don't escape 7f-9f when serializing identifiers and strings. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=25500

Wed, 30 Apr 2014 07:13:01 +0200

author
Simon Pieters <simonp@opera.com>
date
Wed, 30 Apr 2014 07:13:01 +0200
changeset 13832
37fa8d51b890
parent 13831
162318726cec
child 13833
98c61628c0e9

[cssom] Don't escape 7f-9f when serializing identifiers and strings. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=25500

cssom/Overview.html file | annotate | diff | comparison | revisions
cssom/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/cssom/Overview.html	Tue Apr 29 18:07:30 2014 -0700
     1.2 +++ b/cssom/Overview.html	Wed Apr 30 07:13:01 2014 +0200
     1.3 @@ -16,7 +16,7 @@
     1.4   <h1>CSS Object Model (CSSOM)</h1>
     1.5  
     1.6  
     1.7 - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 28 April 2014</h2>
     1.8 + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 30 April 2014</h2>
     1.9  
    1.10   <dl>
    1.11  
    1.12 @@ -90,7 +90,7 @@
    1.13  can be found in the
    1.14  <a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em>
    1.15  
    1.16 -<p class="dontpublish">This is the 28 April 2014 Editor's Draft of CSSOM. Please send comments to
    1.17 +<p class="dontpublish">This is the 30 April 2014 Editor's Draft of CSSOM. Please send comments to
    1.18  <a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a>
    1.19  (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
    1.20  with <samp>[cssom]</samp> at the start of the subject line.
    1.21 @@ -328,8 +328,7 @@
    1.22  <ul>
    1.23   <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
    1.24   <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#invalidcharactererror">InvalidCharacterError</a></code> exception and terminate these steps.</li>
    1.25 - <li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or
    1.26 - [\7f-\9f] (U+007F to U+009F), then the character
    1.27 + <li>If the character is in the range [\1-\1f] (U+0001 to U+001F), then the character
    1.28   <a href="#escape-a-character-as-code-point" title="escape a character as code point">escaped as code point</a>.</li>
    1.29   <li>If the character is the first character and is in the range [0-9]
    1.30   (U+0030 to U+0039), then the character
    1.31 @@ -358,8 +357,8 @@
    1.32  <ul>
    1.33   <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
    1.34   <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#invalidcharactererror">InvalidCharacterError</a></code> exception and terminate these steps.</li>
    1.35 - <li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or [\7f-\9f] (U+007F to
    1.36 - 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>
    1.37 + <li>If the character is in the range [\1-\1f] (U+0001 to U+001F), the character
    1.38 + <a href="#escape-a-character-as-code-point" title="escape a character as code point">escaped as code point</a>.</li>
    1.39   <li>If the character is '"' (U+0022) or "<code title="">\</code>"
    1.40   (U+005C), the <a href="#escape-a-character" title="escape a character">escaped</a> character.</li>
    1.41   <li>Otherwise, the character itself.</li>
     2.1 --- a/cssom/Overview.src.html	Tue Apr 29 18:07:30 2014 -0700
     2.2 +++ b/cssom/Overview.src.html	Wed Apr 30 07:13:01 2014 +0200
     2.3 @@ -245,8 +245,7 @@
     2.4  <ul>
     2.5   <li>If the character is NULL (U+0000), then <span data-anolis-spec=dom title=concept-throw>throw</span> an
     2.6   <code data-anolis-spec=dom>InvalidCharacterError</code> exception and terminate these steps.</li>
     2.7 - <li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or
     2.8 - [\7f-\9f] (U+007F to U+009F), then the character
     2.9 + <li>If the character is in the range [\1-\1f] (U+0001 to U+001F), then the character
    2.10   <span title="escape a character as code point">escaped as code point</span>.</li>
    2.11   <li>If the character is the first character and is in the range [0-9]
    2.12   (U+0030 to U+0039), then the character
    2.13 @@ -275,8 +274,8 @@
    2.14  <ul>
    2.15   <li>If the character is NULL (U+0000), then <span data-anolis-spec=dom title=concept-throw>throw</span> an
    2.16   <code data-anolis-spec=dom>InvalidCharacterError</code> exception and terminate these steps.</li>
    2.17 - <li>If the character is in the range [\1-\1f] (U+0001 to U+001F) or [\7f-\9f] (U+007F to
    2.18 - U+009F), the character <span title="escape a character as code point">escaped as code point</span>.</li>
    2.19 + <li>If the character is in the range [\1-\1f] (U+0001 to U+001F), the character
    2.20 + <span title="escape a character as code point">escaped as code point</span>.</li>
    2.21   <li>If the character is '"' (U+0022) or "<code title>\</code>"
    2.22   (U+005C), the <span title="escape a character">escaped</span> character.</li>
    2.23   <li>Otherwise, the character itself.</li>

mercurial