You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-env-1/Overview.bs
+3-3
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Group: CSSWG
8
8
URL: https://drafts.csswg.org/css-env-1/
9
9
Editor: Tab Atkins-Bittner, Google, w3cid 42199
10
10
Editor: Dean Jackson, Apple, w3cid 42080
11
-
Abstract: This specification defines the concept of [=environment variables=] and the ''env()'' function, which work similarly to custom properties and the ''var()'' function, but are defined globally for a document. These can be defined either by the User Agent, providing values that can be used on the page based on information the UA has special access to, or provided by the author for "global" variables that are guaranteed to be the same no matter where in the document they're used.
11
+
Abstract: This specification defines the concept of [=environment variables=] and the ''env()'' function, which work similarly to custom properties and the ''var()'' function, but are defined globally for a document. These can be defined either by the user agent, providing values that can be used on the page based on information the UA has special access to, or provided by the author for "global" variables that are guaranteed to be the same no matter where in the document they're used.
12
12
</pre>
13
13
14
14
<pre class=link-defaults>
@@ -46,7 +46,7 @@ These "global" variables have both benefits and downsides versus cascading varia
46
46
they can be used in places where there is no obvious element to draw from,
47
47
such as in ''@media'' rules,
48
48
where the ''var()'' function would not be valid.
49
-
* Information from the User Agent itself,
49
+
* Information from the user agent itself,
50
50
such as the margin of the viewport to avoid laying out in by default
51
51
(for example, to avoid overlapping a "notch" in the screen),
0 commit comments