Skip to content

Commit

Permalink
[css-values-5][editorial] More details in Priv/Sec sections
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Sep 13, 2024
1 parent 797eee9 commit ce239ec
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions css-values-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2199,10 +2199,15 @@ Additions Since Level 4</h3>
<h2 class="no-num" id="security">
Security Considerations</h2>

This specification mostly just defines units that are common to CSS specifications,
and which present no security concerns.
This specification allows CSS <<url>> values to have various aspects of their request modified.
Although this is new to CSS,
every ability is already present in <{img}> or <{link}>, as well as via JavaScript.

Note: Does URL handling have a security concern? Probably.
The ''attr()'' function allows HTML attribute values
to be used in CSS values,
potentially exposing sensitive information
that was previously not accessible via CSS.
See [[#attr-security]].

<h2 class="no-num" id="privacy">
Privacy Considerations</h2>
Expand All @@ -2211,6 +2216,9 @@ Privacy Considerations</h2>
and default font size,
but both are trivially observable from JS,
so they do not constitute a new privacy risk.
Similarly the ''media-progress()'' notation exposes
information about the user's environment and preferences
that are already observiable via [=media queries=].

The ''attr()'' function allows HTML attribute values
to be used in CSS values,
Expand Down

0 comments on commit ce239ec

Please sign in to comment.