diff --git a/css-fonts-5/Overview.bs b/css-fonts-5/Overview.bs index 026a8b54dea..3d6cd6b4ba7 100644 --- a/css-fonts-5/Overview.bs +++ b/css-fonts-5/Overview.bs @@ -25,6 +25,7 @@ spec:css-color-4; type:property; text:color spec:css-values; type:value; text:ex spec:css22; type:value; for:/; text:block spec:html; type:element; text:font +spec:html; type:element; text:meta spec:css-fonts-4; type:property; text:font-size spec:css-fonts-4; type:descriptor; text:font-language-override spec:css-fonts-4; type:property; text:font-family @@ -59,7 +60,119 @@ 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. +
<meta> element"text-scale"
+is recognized as setting the computed value
+of the ''font-size/medium'' font size
+and consequently scaling the computed size of the other <content
+attribute must be an ASCII case-insensitive match for one of the
+recognized keywords. Otherwise the tag is ignored.
+
+Documents without this <{meta}> tag will have an assumed default
+value of legacy.
+
+<meta name="text-scale" content="scale" />+
scale property is
+recognized in the [=text-scale=] content attribute value.
+
+When the value of the [=text-scale=] content attribute is
+scale
+computed ''font-size/medium'' font size must match the user's preferred paragraph text size as determined from a combination of OS and UA preferences.
+
+The ''env()/preferred-text-scale'' environment variable must return a number that,
+when multiplied by 16px,
+provides a <+<!DOCTYPE html> +<html> <!-- leave this element's font-size as the default --> + <head> + <meta name="text-scale" content="scale" /> + </head> + <body> + <div style="font-size: 1rem;"> + This font size obeys the user's font preferences, **whether + those preferences are specified at the operating system level + or the user agent level** + </div> + <div style="font-size: 20px;"> + This font size does NOT respect the user's font preferences. + <div style="font-size: 1rem;"> + But this font size does! + </div> + </div> + </body> +</html> ++