From a151ed721b1643c36246df31c148eef93385a5f3 Mon Sep 17 00:00:00 2001 From: Francois Daoust Date: Fri, 9 Jan 2026 19:30:11 +0100 Subject: [PATCH] [css-fonts-4] Create proper types for `` and `` Both `` and `` were defined as values for `font-size`, but that made Bikeshed link the terms to the underlying type definitions in CSS2. That's confusing for readers following links because the definition of `` in CSS2 does not have `xxx-large`. That also confuses other spec processing tools, see https://github.com/w3c/webref/issues/1794 This update turns the value definitions into proper type definitions, which will override those defined in CSS2, and make links to `` and `` target the local definitions. --- css-fonts-4/Overview.bs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/css-fonts-4/Overview.bs b/css-fonts-4/Overview.bs index 6c66477a7d10..dd0b98cc6ac1 100644 --- a/css-fonts-4/Overview.bs +++ b/css-fonts-4/Overview.bs @@ -1384,8 +1384,8 @@ Font size: the 'font-size' property Values have the following meanings: -
-
<> +
+
<>
An <> keyword refers to an entry in a table of font sizes computed and kept by the user agent. @@ -1395,7 +1395,7 @@ Font size: the 'font-size' property
[ xx-small | x-small | small | medium | large | x-large | xx-large | xxx-large ]
-
<> +
<>
A <> keyword is interpreted relative to the computed 'font-size' of the parent element @@ -1422,7 +1422,7 @@ Font size: the 'font-size' property In addition, a user agent may choose to use different ratios when it detects paragraph text as opposed to title text. -
<> +
<>
A length value specifies an absolute font size (independent of the user agent's font table). @@ -1435,7 +1435,7 @@ Font size: the 'font-size' property Note: Use of percentage values or font-relative lengths such as ''em''s and ''rem''s leads to more robust and cascadable style sheets. -
math
+
math
Special mathematical scaling rules must be applied