Skip to content

Commit 08c1b6c

Browse files
committed
[css-values-3] Copy over Privacy and Security sections from L4
1 parent 3229573 commit 08c1b6c

File tree

2 files changed

+31
-14
lines changed

2 files changed

+31
-14
lines changed

css-values-3/Overview.bs

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2368,15 +2368,33 @@ Changes</h2>
23682368
<li>Specified that ''attr()'' with ''string'' or ''url'' types doesn't reparse the attribute contents, just takes the value literally as the value of a <<string>>.
23692369
</ul>
23702370

2371-
<h2 class="no-num" id="sec-pri">
2372-
Security and Privacy Considerations</h2>
2373-
2374-
This specification mostly just defines units that are common to CSS specifications,
2375-
and which present no security concerns.
2376-
2377-
Note: Does URL handling have a security concern? Probably.
2378-
2379-
This specification defines units that expose the user's screen size
2380-
and default font size,
2381-
but both are trivially observable from JS,
2382-
so they do not constitute a new privacy risk.
2371+
<h2 class="no-num" id="security">
2372+
Security Considerations</h2>
2373+
2374+
This specification presents no new security considerations.
2375+
2376+
This specification defines the ''url()'' function (<<url>>),
2377+
which allows CSS to make network requests.
2378+
Depending on what features they are used in,
2379+
these can potentially expose whether or not the user has access to resources on a network,
2380+
and expose information about their contents
2381+
(such as the rules within a style sheet, the size of an image, the metrics of a font).
2382+
They can also allow exfiltrating data via URL.
2383+
2384+
<h2 class="no-num" id="privacy">
2385+
Privacy Considerations</h2>
2386+
2387+
This specification introduces units that expose the user's screen size
2388+
(the [=viewport-percentage lengths=]),
2389+
default font size,
2390+
and potentially some information about
2391+
which fonts are available on the user's system
2392+
(the [=font-relative lengths=]).
2393+
2394+
This specification defines the ''url()'' function (<<url>>),
2395+
which allows CSS to make network requests.
2396+
Depending on what features they are used in,
2397+
these can potentially expose whether or not the user has access to resources on a network,
2398+
and expose information about their contents
2399+
(such as the rules within a style sheet, the size of an image, the metrics of a font).
2400+
They can also allow exfiltrating data via URL.

css-values-4/Overview.bs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5085,7 +5085,6 @@ Security Considerations</h2>
50855085
(such as the rules within a style sheet, the size of an image, the metrics of a font).
50865086
They can also allow exfiltrating data via URL.
50875087

5088-
50895088
<h2 class="no-num" id="privacy">
50905089
Privacy Considerations</h2>
50915090

@@ -5102,4 +5101,4 @@ Privacy Considerations</h2>
51025101
these can potentially expose whether or not the user has access to resources on a network,
51035102
and expose information about their contents
51045103
(such as the rules within a style sheet, the size of an image, the metrics of a font).
5105-
They can also allow exfiltrating data via URL.
5104+
They can also allow exfiltrating data via URL.

0 commit comments

Comments
 (0)