mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-06-14 15:30:07 +00:00
39 lines
1.2 KiB
HTML
39 lines
1.2 KiB
HTML
<!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>
|