Skip to content

Commit

Permalink
[css-fonts-4] Add math value to font-size, fix #5389
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Dec 3, 2021
1 parent 9c5f563 commit 09efeb0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion css-fonts-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ Font size: the 'font-size' property</h3>

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

<div class="example">
Expand Down Expand Up @@ -7330,6 +7337,7 @@ Changes

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

0 comments on commit 09efeb0

Please sign in to comment.