gecko/layout/reftests/mathml/mstyle-4-ref.xhtml

84 lines
2.4 KiB
HTML
Raw Normal View History

<?xml version="1.0" encoding="us-ascii"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type"
content="application/xhtml+xml; charset=us-ascii" />
<title>Test mstyle</title>
<style type="text/css">
table { width: 100%; border-collapse: collapse; }
td { border: solid black 1px; }
</style>
</head>
<body>
<table>
<tbody>
<tr>
<td>mover: accent</td>
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
<mstyle>
<mover accent="false">
<!-- We assume &#x23de; is accent in the operator dictionary -->
<mrow>
<mi>x</mi>
<mo>+</mo>
<mi>y</mi>
<mo>+</mo>
<mi>z</mi>
</mrow>
<mo>&#x23de;</mo>
</mover>
</mstyle>
</math></td>
</tr>
<tr>
<td>munder: accentunder</td>
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
<mstyle>
<munder accentunder="false">
<!-- We assume &#x23df; is accent in the operator dictionary -->
<mrow>
<mi>x</mi>
<mo>+</mo>
<mi>y</mi>
<mo>+</mo>
<mi>z</mi>
</mrow>
<mo>&#x23df;</mo>
</munder>
</mstyle>
</math></td>
</tr>
<tr>
<td>munderover: accent, accentunder</td>
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
<mstyle>
<munderover accent="false" accentunder="false">
<!-- We assume &#x23de; and &#x23df; are accents in the operator dictionary -->
<mrow>
<mi>x</mi>
<mo>+</mo>
<mi>y</mi>
<mo>+</mo>
<mi>z</mi>
</mrow>
<mo>&#x23df;</mo>
<mo>&#x23de;</mo>
</munderover>
</mstyle>
</math></td>
</tr>
<tr>
<td>mi: mathvariant</td>
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
<mstyle><mi mathvariant="normal">a</mi><mi mathvariant="normal">bb</mi></mstyle><mo>,</mo>
<mstyle><mi mathvariant="bold">a</mi><mi mathvariant="bold">bb</mi></mstyle><mo>,</mo>
<mstyle><mi mathvariant="italic">a</mi><mi mathvariant="italic">bb</mi></mstyle>
</math></td>
</tr>
</tbody>
</table>
</body>
</html>