Skip to content

Commit af345a1

Browse files
committed
Correct terminology w.r.t. serialize versus escape.
1 parent f954ab4 commit af345a1

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

cssom/Overview.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,10 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
267267

268268
<h3 id="common-serializing-idioms"><span class="secno">3.1 </span>Common Serializing Idioms</h3>
269269

270-
<p>To <dfn id="serialize-a-character">serialize a character</dfn> means to create a string of
270+
<p>To <dfn id="escape-a-character">escape a character</dfn> means to create a string of
271271
"<code>\</code>" (U+005C), followed by the character.</p>
272272

273-
<p>To <dfn id="serialize-a-character-as-code-point">serialize a character as code point</dfn> means to create a
273+
<p>To <dfn id="escape-a-character-as-code-point">escape a character as code point</dfn> means to create a
274274
string of "<code>\</code>" (U+005C), followed by the Unicode code point as
275275
the smallest possible number of hexadecimal digits in the range 0-9 a-f
276276
(U+0030 to U+0039 and U+0061 to U+0066) to represent the code point in
@@ -282,23 +282,23 @@ <h3 id="common-serializing-idioms"><span class="secno">3.1 </span>Common Seriali
282282
<ul>
283283
<li>If the character is in the range U+0000 to U+001F or U+007F to
284284
U+009F, the character
285-
<a href="#serialize-a-character-as-code-point" title="serialize a character as code point">escaped as code point</a>.</li>
285+
<a href="#escape-a-character-as-code-point" title="escape a character as code point">escaped as code point</a>.</li>
286286
<li>If the character is the first character and is in the range 0-9
287287
(U+0030 to U+0039), the character
288-
<a href="#serialize-a-character-as-code-point" title="serialize a character as code point">escaped as code point</a>.</li>
288+
<a href="#escape-a-character-as-code-point" title="escape a character as code point">escaped as code point</a>.</li>
289289
<li>If the character is the second character and is in the range 0-9
290290
(U+0030 to U+0039) and the first character is a "<code>-</code>"
291291
(U+002D), the character
292-
<a href="#serialize-a-character-as-code-point" title="serialize a character as code point">escaped as code point</a>.</li>
292+
<a href="#escape-a-character-as-code-point" title="escape a character as code point">escaped as code point</a>.</li>
293293
<li>If the character is the second character and is "<code>-</code>"
294294
(U+002D) and the first character is "<code>-</code>" too, the
295-
<a href="#serialize-a-character" title="serialize a character">escaped</a> character.</li>
295+
<a href="#escape-a-character" title="escape a character">escaped</a> character.</li>
296296
<li>If the character is not handled by one of the above rules and is
297297
greater than or equal to U+0080, is "<code>-</code>" (U+002D) or
298298
"<code>_</code>" (U+005F), or is in one of the ranges 0-9 (U+0030 to
299299
U+0039), A-Z (U+0041 to U+005A), or a-z (U+0061 to U+007A), the character
300300
itself.</li>
301-
<li>Otherwise, the <a href="#serialize-a-character" title="serialize a character">escaped</a>
301+
<li>Otherwise, the <a href="#escape-a-character" title="escape a character">escaped</a>
302302
character.</li>
303303
</ul>
304304

@@ -310,9 +310,9 @@ <h3 id="common-serializing-idioms"><span class="secno">3.1 </span>Common Seriali
310310
<ul>
311311
<li>If the character is in the range U+0000 to U+001F or U+007F to
312312
U+009F, the character
313-
<a href="#serialize-a-character-as-code-point" title="serialize a character as code point">escaped as code point</a>.</li>
313+
<a href="#escape-a-character-as-code-point" title="escape a character as code point">escaped as code point</a>.</li>
314314
<li>If the character is '<code>"</code>' (U+0022) or '<code>\</code>'
315-
(U+005C), the <a href="#serialize-a-character" title="serialize a character">escaped</a> character.</li>
315+
(U+005C), the <a href="#escape-a-character" title="escape a character">escaped</a> character.</li>
316316
<li>Otherwise, the character itself.</li>
317317
</ul>
318318

cssom/cssom-source

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@
198198

199199
<h3>Common Serializing Idioms</h3>
200200

201-
<p>To <dfn>serialize a character</dfn> means to create a string of
201+
<p>To <dfn>escape a character</dfn> means to create a string of
202202
"<code>\</code>" (U+005C), followed by the character.</p>
203203

204-
<p>To <dfn>serialize a character as code point</dfn> means to create a
204+
<p>To <dfn>escape a character as code point</dfn> means to create a
205205
string of "<code>\</code>" (U+005C), followed by the Unicode code point as
206206
the smallest possible number of hexadecimal digits in the range 0-9 a-f
207207
(U+0030 to U+0039 and U+0061 to U+0066) to represent the code point in
@@ -213,23 +213,23 @@
213213
<ul>
214214
<li>If the character is in the range U+0000 to U+001F or U+007F to
215215
U+009F, the character
216-
<span title="serialize a character as code point">escaped as code point</span>.</li>
216+
<span title="escape a character as code point">escaped as code point</span>.</li>
217217
<li>If the character is the first character and is in the range 0-9
218218
(U+0030 to U+0039), the character
219-
<span title="serialize a character as code point">escaped as code point</span>.</li>
219+
<span title="escape a character as code point">escaped as code point</span>.</li>
220220
<li>If the character is the second character and is in the range 0-9
221221
(U+0030 to U+0039) and the first character is a "<code>-</code>"
222222
(U+002D), the character
223-
<span title="serialize a character as code point">escaped as code point</span>.</li>
223+
<span title="escape a character as code point">escaped as code point</span>.</li>
224224
<li>If the character is the second character and is "<code>-</code>"
225225
(U+002D) and the first character is "<code>-</code>" too, the
226-
<span title="serialize a character">escaped</span> character.</li>
226+
<span title="escape a character">escaped</span> character.</li>
227227
<li>If the character is not handled by one of the above rules and is
228228
greater than or equal to U+0080, is "<code>-</code>" (U+002D) or
229229
"<code>_</code>" (U+005F), or is in one of the ranges 0-9 (U+0030 to
230230
U+0039), A-Z (U+0041 to U+005A), or a-z (U+0061 to U+007A), the character
231231
itself.</li>
232-
<li>Otherwise, the <span title="serialize a character">escaped</span>
232+
<li>Otherwise, the <span title="escape a character">escaped</span>
233233
character.</li>
234234
</ul>
235235

@@ -241,9 +241,9 @@
241241
<ul>
242242
<li>If the character is in the range U+0000 to U+001F or U+007F to
243243
U+009F, the character
244-
<span title="serialize a character as code point">escaped as code point</span>.</li>
244+
<span title="escape a character as code point">escaped as code point</span>.</li>
245245
<li>If the character is '<code>"</code>' (U+0022) or '<code>\</code>'
246-
(U+005C), the <span title="serialize a character">escaped</span> character.</li>
246+
(U+005C), the <span title="escape a character">escaped</span> character.</li>
247247
<li>Otherwise, the character itself.</li>
248248
</ul>
249249

0 commit comments

Comments
 (0)