blob: eae1612137879ad607995493f8288e3e7dba4fd0 [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>fractions numalign, denomalign</title>
<meta charset="utf-8"/>
<style>
span {
display: inline-block;
background: transparent;
border: 0;
margin: 0;
height: 1em;
}
</style>
</head>
<body>
<!-- This test verifies the effect of the numalign, denomalign attributes -->
<math>
<mfrac numalign="left">
<mtext><span style="width: 1em; background: red;"></span></mtext>
<mtext><span style="width: 3em; background: blue;"></span></mtext>
</mfrac>
</math>
<math>
<mfrac numalign="center">
<mtext><span style="width: 1em; background: red;"></span></mtext>
<mtext><span style="width: 3em; background: blue;"></span></mtext>
</mfrac>
</math>
<math>
<mfrac numalign="right">
<mtext><span style="width: 1em; background: red;"></span></mtext>
<mtext><span style="width: 3em; background: blue;"></span></mtext>
</mfrac>
</math>
<math>
<mfrac denomalign="left">
<mtext><span style="width: 3em; background: red;"></span></mtext>
<mtext><span style="width: 1em; background: blue;"></span></mtext>
</mfrac>
</math>
<math>
<mfrac denomalign="center">
<mtext><span style="width: 3em; background: red;"></span></mtext>
<mtext><span style="width: 1em; background: blue;"></span></mtext>
</mfrac>
</math>
<math>
<mfrac denomalign="right">
<mtext><span style="width: 3em; background: red;"></span></mtext>
<mtext><span style="width: 1em; background: blue;"></span></mtext>
</mfrac>
</math>
</body>
</html>