blob: 7d5ff4201e76d76d36439c2a2fc5b6dd5db854a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<title>mfrac linethickness</title>
<style type="text/css">
math {
font-size: 10px;
}
@font-face {
font-family: fraction-1;
src: url(../fonts/math/fraction-1.otf);
}
</style>
<script type="text/javascript">
function doTest() {
var mfracs = document.getElementsByTagName("mfrac");
mfracs[0].removeAttribute("linethickness");
mfracs[1].removeAttribute("linethickness");
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</head>
<body>
<math style="font-family: fraction-1;">
<mfrac linethickness="200%">
<mspace height="1em" width="1em" mathbackground="red"/>
<mspace height="1em" width="1em" mathbackground="red"/>
</mfrac>
</math>
<math displaystyle="true" style="font-family: fraction-1;">
<mfrac linethickness="200%">
<mspace height="1em" width="1em" mathbackground="red"/>
<mspace height="1em" width="1em" mathbackground="red"/>
</mfrac>
</math>
</body>
</html>
|