Skip to content

Commit a6b3fdc

Browse files
committed
[css-syntax] Add Privacy/Security section.
1 parent f41b684 commit a6b3fdc

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

css-syntax/Overview.bs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3426,6 +3426,19 @@ Serializing <var>&lt;an+b></var></h3>
34263426

34273427
Return <var>s</var>.
34283428

3429+
<h2 id="priv-sec">
3430+
Privacy and Security Considerations</h2>
3431+
3432+
This specification introduces no new privacy concerns.
3433+
3434+
This specification improves security, in that CSS parsing is now unambiguously defined for all inputs.
3435+
3436+
Insofar as old parsers, such as whitelists/filters, parse differently from this specification,
3437+
they are somewhat insecure,
3438+
but the previous parsing specification left a lot of ambiguous corner cases which browsers interpreted differently,
3439+
so those filters were potentially insecure already,
3440+
and this specification does not worsen the situation.
3441+
34293442
<!--
34303443
██████ ██ ██ ███ ██ ██ ██████ ████████ ██████
34313444
██ ██ ██ ██ ██ ██ ███ ██ ██ ██ ██ ██ ██

0 commit comments

Comments
 (0)