blob: 6e8dea9a4702e79651eb19d69fa4c620a1b85606 [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>
<!-- From the MathML spec:
'The default value is "medium", "thin" is thinner, but visible,
"thick" is thicker; the exact thickness of these is left up to the
rendering agent.'
'A number without a unit is intepreted as a multiple of the default
value.'
We follow the suggestion of the MathML in HTML5 implementation note and interpret thin as 50% and thick as 200%.
-->
<math>
<mfrac linethickness="5px"><mn>1</mn><mn>2</mn></mfrac>
<mfrac linethickness="10px"><mn>1</mn><mn>2</mn></mfrac>
<mfrac linethickness="20px"><mn>1</mn><mn>2</mn></mfrac>
<mfrac linethickness="50px"><mn>1</mn><mn>2</mn></mfrac>
</math>
</body>
</html>