Skip to content

Commit 5e49e2e

Browse files
committed
[css-syntax] "Parse a stylesheet" can be invoked on bytes.
1 parent 739046b commit 5e49e2e

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

css-syntax/Overview.src.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,8 @@ <h3>
310310
The input byte stream</h3>
311311

312312
<p>
313-
The stream of Unicode code points that comprises the input to the tokenization stage may be initially seen by the user agent as a stream of bytes
313+
When parsing a stylesheet,
314+
the stream of Unicode code points that comprises the input to the tokenization stage may be initially seen by the user agent as a stream of bytes
314315
(typically coming over the network or from the local file system).
315316
The bytes encode the actual characters according to a particular character encoding,
316317
which the user agent must use to decode the bytes into characters.
@@ -1912,6 +1913,14 @@ <h3>
19121913
then perform <a href="#tokenization">tokenization</a>
19131914
to produce a token stream.
19141915

1916+
<p>
1917+
"<i>Parse a stylesheet</i>" can also be invoked on a byte stream,
1918+
in which case <a href="#the-input-byte-stream">The input byte stream</a>
1919+
defines how to decode it into Unicode.
1920+
1921+
<p class=note>
1922+
This specification does not define how a byte stream is decoded for other entry points.
1923+
19151924
<p class='note'>
19161925
Other specs can define additional entry points for their own purposes.
19171926

0 commit comments

Comments
 (0)