Skip to content

Commit 09efeb0

Browse files
committed
[css-fonts-4] Add math value to font-size, fix #5389
1 parent 9c5f563 commit 09efeb0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

css-fonts-4/Overview.bs

+9-1
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ Font size: the 'font-size' property</h3>
914914

915915
<pre class="propdef">
916916
Name: font-size
917-
Value: <<absolute-size>> | <<relative-size>> | <<length-percentage>>
917+
Value: <<absolute-size>> | <<relative-size>> | <<length-percentage>> | math
918918
Initial: medium
919919
Applies to: all elements and text
920920
Inherited: yes
@@ -989,6 +989,13 @@ Font size: the 'font-size' property</h3>
989989
Note: Use of percentage values or <a>font-relative lengths</a>
990990
such as ''em''s and ''rem''s
991991
leads to more robust and cascadable style sheets.
992+
<dt><dfn>math</dfn></dt>
993+
<dd>
994+
Special <a href="https://w3c.github.io/mathml-core/#the-math-script-level-property">
995+
mathematical scaling rules</a> must be applied
996+
when determining the computed value of the 'font-size'
997+
property.
998+
</dd>
992999
</dl>
9931000

9941001
<div class="example">
@@ -7330,6 +7337,7 @@ Changes
73307337

73317338
<ul>
73327339
<!-- to 03 Dec 2021 -->
7340+
<li>New 'math' value added to 'font-size'</li>
73337341
<li>Security and Privacy are now separate sections</li>
73347342
<li>Linked to OpenType, TrueType and Graphite table definitions</li>
73357343
<li>Updated examples which had used "supports"</li>

0 commit comments

Comments
 (0)