Skip to content

Commit bcb0277

Browse files
committed
characters in the range 7F-9F need to be escaped too
1 parent 8b5835d commit bcb0277

3 files changed

Lines changed: 36 additions & 31 deletions

File tree

cssom/Overview.html

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
code :link, code :visited { color:inherit }
2020
</style>
2121

22-
<link href="http://www.w3.org/StyleSheets/TR/W3C-WD" rel="stylesheet">
22+
<link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet">
2323
</head>
2424

2525
<body class="draft">
@@ -29,18 +29,14 @@
2929
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
3030
<!--end-logo-->
3131
<h1 id="cssom">CSSOM</h1>
32-
<h2 class="no-num no-toc" id="w3c-working-draft-12-july-2011">W3C Working Draft 12 July 2011</h2>
32+
<h2 class="no-num no-toc" id="editor-s-draft-24-july-2011">Editor's Draft 24 July 2011</h2>
3333

3434
<dl>
3535

3636
<dt>This Version:</dt>
37-
<dd class="publish"><a href="http://www.w3.org/TR/2011/WD-cssom-20110712/">http://www.w3.org/TR/2011/WD-cssom-20110712/</a></dd>
38-
39-
<dt class="publish">Latest Version:</dt>
40-
<dd class="publish"><a href="http://www.w3.org/TR/cssom/">http://www.w3.org/TR/cssom/</a></dd>
41-
42-
<dt class="publish">Latest Editor's draft:</dt>
43-
<dd class="publish"><a href="http://dev.w3.org/csswg/cssom/">http://dev.w3.org/csswg/cssom/</a></dd>
37+
<dd class="dontpublish"><a href="http://dev.w3.org/csswg/cssom/">http://dev.w3.org/csswg/cssom/</a>
38+
<dt class="dontpublish">Previous Version:</dt>
39+
<dd class="dontpublish"><a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/">http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/</a></dd>
4440

4541
<dt>Editor:</dt>
4642
<dd><a href="http://annevankesteren.nl/">Anne van Kesteren</a>
@@ -82,7 +78,7 @@ <h2 class="no-num no-toc" id="sotd">Status of this Document</h2>
8278
like this: “[<!---->cssom-view<!---->] <em>…summary of
8379
comment…</em>
8480

85-
<p>This is the 12 July 2011 First Public Working Draft of CSSOM, produced by the
81+
<p>This is the 24 July 2011 First Public Working Draft of CSSOM, produced by the
8682
<a href="http://www.w3.org/Style/CSS/members">CSS Working Group</a> (part
8783
of the <a href="http://www.w3.org/Style/">Style Activity</a>).
8884
<!--XXX remove "First Public" after initial publication -->
@@ -285,11 +281,12 @@ <h3 id="common-serializing-idioms"><span class="secno">3.1 </span>Common Seriali
285281
by the concatenation of, for each character of the identifier:</p>
286282

287283
<ul>
288-
<li>If the character is in the range U+0000 to U+001F, the character
289-
<a href="#serialize-a-character-as-code-point" title="serialize a character as code point">escaped as code point</a>.</li>
284+
<li>If the character is in the range U+0000 to U+001F or U+007F to
285+
U+009F, the character
286+
<a href="#serialize-a-character-as-code-point" title="serialize a character as code point">escaped as code point</a>.
290287
<li>If the character is the first character and is in the range 0-9
291288
(U+0030 to U+0039), the character
292-
<a href="#serialize-a-character-as-code-point" title="serialize a character as code point">escaped as code point</a>.</li>
289+
<a href="#serialize-a-character-as-code-point" title="serialize a character as code point">escaped as code point</a>.
293290
<li>If the character is the second character and is in the range 0-9
294291
(U+0030 to U+0039) and the first character is a "<code>-</code>"
295292
(U+002D), the character
@@ -312,8 +309,9 @@ <h3 id="common-serializing-idioms"><span class="secno">3.1 </span>Common Seriali
312309
'<code>"</code>' (U+0022):</p>
313310

314311
<ul>
315-
<li>If the character is in the range U+0000 to U+001F, the character
316-
<a href="#serialize-a-character-as-code-point" title="serialize a character as code point">escaped as code point</a>.</li>
312+
<li>If the character is in the range U+0000 to U+001F or U+007F to
313+
U+009F, the character
314+
<a href="#serialize-a-character-as-code-point" title="serialize a character as code point">escaped as code point</a>.
317315
<li>If the character is '<code>"</code>' (U+0022) or '<code>\</code>'
318316
(U+005C), the <a href="#serialize-a-character" title="serialize a character">escaped</a> character.</li>
319317
<li>Otherwise, the character itself.</li>
@@ -3321,8 +3319,9 @@ <h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
33213319
Robert O'Callahan,
33223320
Sjoerd Visscher,
33233321
Simon Pieters,
3324-
Sylvain Galineau, and
3325-
Tarquin Wilton-Jones
3322+
Sylvain Galineau,
3323+
Tarquin Wilton-Jones, and
3324+
Zack Weinberg
33263325

33273326
for contributing to this specification.</p>
33283327

cssom/Overview.src.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,12 @@ <h3>Common Serializing Idioms</h3>
200200
by the concatenation of, for each character of the identifier:</p>
201201

202202
<ul>
203-
<li>If the character is in the range U+0000 to U+001F, the character
204-
<span title="serialize a character as code point">escaped as code point</span>.</li>
203+
<li>If the character is in the range U+0000 to U+001F or U+007F to
204+
U+009F, the character
205+
<span title="serialize a character as code point">escaped as code point</span>.
205206
<li>If the character is the first character and is in the range 0-9
206207
(U+0030 to U+0039), the character
207-
<span title="serialize a character as code point">escaped as code point</span>.</li>
208+
<span title="serialize a character as code point">escaped as code point</span>.
208209
<li>If the character is the second character and is in the range 0-9
209210
(U+0030 to U+0039) and the first character is a "<code>-</code>"
210211
(U+002D), the character
@@ -227,8 +228,9 @@ <h3>Common Serializing Idioms</h3>
227228
'<code>"</code>' (U+0022):</p>
228229

229230
<ul>
230-
<li>If the character is in the range U+0000 to U+001F, the character
231-
<span title="serialize a character as code point">escaped as code point</span>.</li>
231+
<li>If the character is in the range U+0000 to U+001F or U+007F to
232+
U+009F, the character
233+
<span title="serialize a character as code point">escaped as code point</span>.
232234
<li>If the character is '<code>"</code>' (U+0022) or '<code>\</code>'
233235
(U+005C), the <span title="serialize a character">escaped</span> character.</li>
234236
<li>Otherwise, the character itself.</li>
@@ -3221,8 +3223,9 @@ <h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
32213223
Robert O'Callahan,
32223224
Sjoerd Visscher,
32233225
Simon Pieters,
3224-
Sylvain Galineau, and
3225-
Tarquin Wilton-Jones
3226+
Sylvain Galineau,
3227+
Tarquin Wilton-Jones, and
3228+
Zack Weinberg
32263229

32273230
for contributing to this specification.</p>
32283231

cssom/cssom-source

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,12 @@ and
200200
by the concatenation of, for each character of the identifier:</p>
201201

202202
<ul>
203-
<li>If the character is in the range U+0000 to U+001F, the character
204-
<span title="serialize a character as code point">escaped as code point</span>.</li>
203+
<li>If the character is in the range U+0000 to U+001F or U+007F to
204+
U+009F, the character
205+
<span title="serialize a character as code point">escaped as code point</span>.
205206
<li>If the character is the first character and is in the range 0-9
206207
(U+0030 to U+0039), the character
207-
<span title="serialize a character as code point">escaped as code point</span>.</li>
208+
<span title="serialize a character as code point">escaped as code point</span>.
208209
<li>If the character is the second character and is in the range 0-9
209210
(U+0030 to U+0039) and the first character is a "<code>-</code>"
210211
(U+002D), the character
@@ -227,8 +228,9 @@ and
227228
'<code>"</code>' (U+0022):</p>
228229

229230
<ul>
230-
<li>If the character is in the range U+0000 to U+001F, the character
231-
<span title="serialize a character as code point">escaped as code point</span>.</li>
231+
<li>If the character is in the range U+0000 to U+001F or U+007F to
232+
U+009F, the character
233+
<span title="serialize a character as code point">escaped as code point</span>.
232234
<li>If the character is '<code>"</code>' (U+0022) or '<code>\</code>'
233235
(U+005C), the <span title="serialize a character">escaped</span> character.</li>
234236
<li>Otherwise, the character itself.</li>
@@ -2735,8 +2737,9 @@ and
27352737
Robert O'Callahan,
27362738
Sjoerd Visscher,
27372739
Simon Pieters,
2738-
Sylvain Galineau, and
2739-
Tarquin Wilton-Jones
2740+
Sylvain Galineau,
2741+
Tarquin Wilton-Jones, and
2742+
Zack Weinberg
27402743

27412744
for contributing to this specification.</p>
27422745

0 commit comments

Comments
 (0)