Skip to content

Commit f02cdeb

Browse files
committed
[css-syntax] Restrict the label bytes to 7-bit ASCII.
--HG-- extra : rebase_source : 87ab91b93f7f73469004c1c347e08ff664ad2f76
1 parent fd173e0 commit f02cdeb

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

css-syntax/Overview.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,8 @@ <h3 class="heading settled heading" data-level=3.2 id=input-byte-stream><span cl
450450
If the first 1024 bytes of the stream begin with the hex sequence
451451

452452
<pre>40 63 68 61 72 73 65 74 20 22 XX* 22 3B</pre>
453-
<p> where each <code>XX</code> byte is anything except 22<sub>16</sub>,
453+
<p> where each <code>XX</code> byte is a value between 0<sub>16</sub> and 21<sub>16</sub> inclusive
454+
or a value between 23<sub>16</sub> and 7F<sub>16</sub> inclusive,
454455
then <a data-link-type=dfn href=#get-an-encoding title="get an encoding">get an encoding</a>
455456
for the sequence of <code>XX</code> bytes,
456457
interpreted as <code>ASCII</code>.

css-syntax/Overview.src.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,8 @@ <h3 id="input-byte-stream">
288288

289289
<pre>40 63 68 61 72 73 65 74 20 22 XX* 22 3B</pre>
290290

291-
where each <code>XX</code> byte is anything except 22<sub>16</sub>,
291+
where each <code>XX</code> byte is a value between 0<sub>16</sub> and 21<sub>16</sub> inclusive
292+
or a value between 23<sub>16</sub> and 7F<sub>16</sub> inclusive,
292293
then <a>get an encoding</a>
293294
for the sequence of <code>XX</code> bytes,
294295
interpreted as <code>ASCII</code>.

0 commit comments

Comments
 (0)