blob: 17f6737083ef8d4d8487ba558f46f0231536746e [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>fractions linethickness</title>
<meta charset="utf-8"/>
<style type="text/css">
@font-face {
font-family: TestFont;
src: url("../../imported/w3c/web-platform-tests/fonts/math/fraction-rulethickness10000.woff");
}
math {
/* FractionRuleThickness = 10000 * 1 / 1000 = 10px; */
font-family: "TestFont";
font-size: 1px;
}
mn {
font-size: 20px;
}
</style>
</head>
<body>
<!-- This should draw fraction bars of increasing thickness -->
<math>
<mfrac linethickness="thin"><mn>1</mn><mn>2</mn></mfrac>
<mfrac linethickness="medium"><mn>1</mn><mn>2</mn></mfrac>
<mfrac linethickness="thick"><mn>1</mn><mn>2</mn></mfrac>
<mfrac linethickness="5"><mn>1</mn><mn>2</mn></mfrac>
</math>
</body>
</html>