52 lines
1.2 KiB
HTML
52 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>mathvariant inheritance</title>
|
|
<meta charset="utf-8"/>
|
|
</head>
|
|
<body>
|
|
|
|
<!-- Verify that fraktur is inherited on mtext. -->
|
|
<math mathvariant="fraktur">
|
|
<mtext>A</mtext>
|
|
</math><br/>
|
|
<math>
|
|
<mstyle mathvariant="fraktur">
|
|
<mtext>A</mtext>
|
|
</mstyle>
|
|
</math><br/>
|
|
|
|
<!-- Verify that the value specified on the mtext overrides the inherited value. -->
|
|
<math mathvariant="fraktur">
|
|
<mtext mathvariant="script">A</mtext>
|
|
</math><br/>
|
|
<math>
|
|
<mstyle mathvariant="fraktur">
|
|
<mtext mathvariant="script">A</mtext>
|
|
</mstyle>
|
|
</math><br/>
|
|
|
|
<!-- Verify that the inherited value replaces the implicit italic value of the mi. -->
|
|
<math mathvariant="fraktur">
|
|
<mi>A</mi>
|
|
</math><br/>
|
|
<math>
|
|
<mstyle mathvariant="fraktur">
|
|
<mi>A</mi>
|
|
</mstyle>
|
|
</math><br/>
|
|
|
|
<!-- Test a chain of inheritance -->
|
|
<math mathvariant="fraktur">
|
|
<mtext>A</mtext>
|
|
<mstyle mathvariant="double-struck">
|
|
<mtext>A</mtext>
|
|
<mstyle mathvariant="script">
|
|
<mtext>A</mtext>
|
|
</mstyle>
|
|
</mstyle>
|
|
</math>
|
|
|
|
</body>
|
|
</html>
|