Skip to content

Commit 44891c4

Browse files
committed
[css-env-1][editorial] bikeshed fixes
1 parent 6de54ec commit 44891c4

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

css-env-1/Overview.bs

+27-3
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Note that mixing CSS rules and JS-defined stuff can easily get messy,
8484
as demonstrated by CSSFontFaceRule vs FontFace...
8585

8686
The following UA-defined [=environment variables=] are officially defined and must be supported.
87-
Additional UA-defined [=environment variables=] *must not* be supported
87+
Additional UA-defined [=environment variables=] <em>must not</em> be supported
8888
unless/until they are added to this list.
8989

9090
<index type=value for=env()></index>
@@ -279,8 +279,8 @@ It is only syntax-checked after ''env()'' functions have been [=substituted=].
279279

280280
1. If the name provided by the first argument of the ''env()'' function
281281
is a recognized [=environment variable=] name, the number of supplied integers
282-
matches the number of dimensions of the [=environment variable=] referenced
283-
by that name, and values of the indices correspond to a known sub-value,
282+
matches the number of dimensions of the [=environment variable=] referenced
283+
by that name, and values of the indices correspond to a known sub-value,
284284
replace the ''env()'' function by the value of the named [=environment variable=].
285285

286286
2. Otherwise, if the ''env()'' function has a fallback value as its second argument,
@@ -314,3 +314,27 @@ as the ''var()'' function does.
314314
When an ''env()'' is used in a [=shorthand property=],
315315
then,
316316
it has the same effects as defined in [[css-variables-1#variables-in-shorthands]].
317+
318+
<h2 id=priv>
319+
Privacy Considerations</h2>
320+
321+
The [=environment variables=] defined by this specification
322+
are <em>potentially</em> privacy-sensitive,
323+
since they represent additional information
324+
potentially not already avaialble to the page.
325+
In particular, they potentially represent a fingerprinting vector,
326+
by exposing additional information
327+
about the device a user is viewing the page with.
328+
329+
So far, the [=environment variables=] defined by this specifcation
330+
have been reviewed and deemed acceptable to expose
331+
by the CSSWG.
332+
333+
<h2 id=sec>
334+
Security Considerations</h2>
335+
336+
This specification provides read-only access
337+
to some new types of information about the device.
338+
339+
The [=environment variables=] defined by this specification
340+
do not expose any security-sensitive information.

0 commit comments

Comments
 (0)