Skip to content

Commit ce239ec

Browse files
committed
[css-values-5][editorial] More details in Priv/Sec sections
1 parent 797eee9 commit ce239ec

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

css-values-5/Overview.bs

+11-3
Original file line numberDiff line numberDiff line change
@@ -2199,10 +2199,15 @@ Additions Since Level 4</h3>
21992199
<h2 class="no-num" id="security">
22002200
Security Considerations</h2>
22012201

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

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

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

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

0 commit comments

Comments
 (0)