@@ -84,7 +84,7 @@ Note that mixing CSS rules and JS-defined stuff can easily get messy,
84
84
as demonstrated by CSSFontFaceRule vs FontFace...
85
85
86
86
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
88
88
unless/until they are added to this list.
89
89
90
90
<index type=value for=env()></index>
@@ -279,8 +279,8 @@ It is only syntax-checked after ''env()'' functions have been [=substituted=].
279
279
280
280
1. If the name provided by the first argument of the ''env()'' function
281
281
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,
284
284
replace the ''env()'' function by the value of the named [=environment variable=] .
285
285
286
286
2. Otherwise, if the ''env()'' function has a fallback value as its second argument,
@@ -314,3 +314,27 @@ as the ''var()'' function does.
314
314
When an ''env()'' is used in a [=shorthand property=] ,
315
315
then,
316
316
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