Skip to content

Commit 32beecf

Browse files
sideshowbarkerfantasai
authored andcommitted
[css-syntax-3] Note: surrogate can only be produced by OM operation
In the “filter code points” step of the “Preprocessing the input stream” section at https://drafts.csswg.org/css-syntax/#css-filter-code-points, this change adds a non-normative Note to clarify that the only way to produce a surrogate code point in CSS content is by directly assigning a DOMString with one in it via an OM operation.
1 parent 463e82c commit 32beecf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

css-syntax-3/Overview.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,8 @@ Preprocessing the input stream</h3>
436436
<li>
437437
Replace any U+0000 NULL or <a>surrogate</a> <a>code points</a> in |input|
438438
with U+FFFD REPLACEMENT CHARACTER (�).
439+
440+
Note: The only way to produce a <a>surrogate</a> <a>code point</a> in CSS content is by directly assigning a <code>DOMString</code> with one in it via an OM operation.
439441
</ul>
440442
</div>
441443

0 commit comments

Comments
 (0)