diff --git a/css-fonts-5/Overview.bs b/css-fonts-5/Overview.bs index 422d5b0e465..7ec5c5f3a47 100644 --- a/css-fonts-5/Overview.bs +++ b/css-fonts-5/Overview.bs @@ -59,7 +59,83 @@ rules defined in CSS Fonts Level 4. This specification is currently a delta to the CSS Fonts Level 4 specification. Do not assume that if something is not here, it has been dropped. +
Name + | Value + | Number of dimensions + |
---|---|---|
preferred-text-scale + | <0 (scalar)
+ | |
+ :root { + font-size: calc(16px * env(preferred-text-scale)); + } ++ +
<meta>
element<meta>
tag whose name
attribute
+is a ASCII case-insensitive match for
+"text-scale"
is recognized as setting the
+initial font size of the document. The value of the content
+attribute must be an ASCII case-insensitive match for one of the
+recognized keywords.
+
+Documents without this <meta>
tag will have an assumed default
+value of legacy
.
+
+<meta>
element are:
+
+legacy
scale
legacy
property is
+recognized in the [=text-scale=] content attribute value.
+
+When the value of the [=text-scale=] content attribute is
+legacy the user agent should set the initial font size
+to 16px. The user agent may chose a different initial value, such as one based
+on a user preference. The ''env()/preferred-text-scale'' value must be 1.
+
+scale
property is
+recognized in the [=text-scale=] content attribute value.
+
+When the value of the [=text-scale=] content attribute is
+scale the user agent may determine the initial font size
+based on the operating systems text scale setting. The
+''env()/preferred-text-scale'' value must be a number that, when multiplied by
+16px, provides a <