@@ -629,9 +629,9 @@ <h4>Legacy MathML Style Attributes</h4>
629
629
of glyphs in math formulas but also scale other parts (spacing, shifts,
630
630
line thickness of bars etc) accordingly.
631
631
It is mapped to the CSS property
632
- < a data-cite ="CSS-FONTS-3 #font-size-prop "> < code > font-size</ code > </ a >
632
+ < a data-cite ="CSS-FONTS-4 #font-size-prop "> < code > font-size</ code > </ a >
633
633
and the < code > mathsize</ code > values are interpreted according to the
634
- definition in [[CSS-FONTS-3 ]].
634
+ definition in [[CSS-FONTS-4 ]].
635
635
</ p >
636
636
< div class ="note ">
637
637
The above attributes are implemented for compatibility with full MathML. Authors whose only target is MathML Core are encouraged to use CSS for styling.
@@ -794,6 +794,16 @@ <h3>The Top-Level <code><math></code> Element</h3>
794
794
< code > display="block"</ code > and < code > display="inline"</ code >
795
795
respectively.
796
796
</ div >
797
+ < p > Because good mathematical rendering requires use of mathematical
798
+ fonts, the
799
+ < a href ="#user-agent-stylesheet "> user agent stylesheet</ a >
800
+ should set the
801
+ < a data-cite ="CSS-FONTS-4#font-family-prop "> < code > font-family</ code > </ a >
802
+ to the
803
+ < a data-cite ="CSS-FONTS-4#valdef-font-family-math "> < code > math</ code > </ a >
804
+ value on the < code > <math></ code > element instead of inheriting
805
+ it.
806
+ </ p >
797
807
</ section >
798
808
< section id ="linkable-math-elements ">
799
809
< h3 > < dfn > MathML Hyperlink Elements</ dfn > </ h3 >
@@ -1322,7 +1332,7 @@ <h5>OpenType features</h5>
1322
1332
on its text nodes [[OPEN-FONT-FORMAT]]
1323
1333
unless it contradicts what the page author has
1324
1334
specified with the
1325
- < a data-cite ="CSS-FONTS-3 #font-rend-desc "> < code > font-feature-settings</ code > </ a >
1335
+ < a data-cite ="CSS-FONTS-4 #font-rend-desc "> < code > font-feature-settings</ code > </ a >
1326
1336
CSS property.
1327
1337
</ p >
1328
1338
</ section >
@@ -5001,7 +5011,7 @@ <h3>The <code>math-style</code> property</h3>
5001
5011
layout on descendants should try to minimize the
5002
5012
< a data-cite ="CSS-WRITING-MODES-3#extent "> logical height</ a > .
5003
5013
This includes how
5004
- < a data-cite ="CSS-FONTS-3 #font-size-prop "> < code > font-size</ code > </ a >
5014
+ < a data-cite ="CSS-FONTS-4 #font-size-prop "> < code > font-size</ code > </ a >
5005
5015
is changed when < a > < code > math-script-level</ code > </ a > is
5006
5016
< code > auto</ code > as well
5007
5017
miscelleanous layout rules described in details in
@@ -5055,7 +5065,7 @@ <h3>The <code>math-script-level</code> property</h3>
5055
5065
</ p >
5056
5066
< p >
5057
5067
If
5058
- < a data-cite ="CSS-FONTS-3 #font-size-prop "> < code > font-size</ code > </ a >
5068
+ < a data-cite ="CSS-FONTS-4 #font-size-prop "> < code > font-size</ code > </ a >
5059
5069
is specified or if the specified value of
5060
5070
< code > math-script-level</ code > is < code > initial</ code > then
5061
5071
< code > math-script-level</ code > does not affect the computed value of
@@ -5113,7 +5123,7 @@ <h2>OpenType <code>MATH</code> table</h2>
5113
5123
< code > MathValueRecord</ code > entry) are scaled to appropriate values
5114
5124
for layout purpose, taking into account
5115
5125
< code > head.unitsPerEm</ code > , CSS
5116
- < a data-cite ="CSS-FONTS-3 #font-size-prop "> < code > font-size</ code > </ a >
5126
+ < a data-cite ="CSS-FONTS-4 #font-size-prop "> < code > font-size</ code > </ a >
5117
5127
or zoom level.
5118
5128
</ p >
5119
5129
< section >
@@ -5624,7 +5634,6 @@ <h2>User Agent Stylesheet</h2>
5624
5634
< div class ="issue " data-number ="35 "> CSS writing-mode and direction on the math root?</ div >
5625
5635
< div class ="issue " data-number ="36 "> font-style and font-weight on the math root?</ div >
5626
5636
< div class ="issue " data-number ="94 "> links and focusable elements?</ div >
5627
- < div class ="issue " data-number ="37 "> default font-family?</ div >
5628
5637
< pre class ="css "> @namespace url(http://www.w3.org/1998/Math/MathML);
5629
5638
5630
5639
/* Default display */
0 commit comments