mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
38 lines
901 B
HTML
38 lines
901 B
HTML
<!doctype html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<title>displaystyle</title>
|
|
<meta charset="utf-8"/>
|
|
<script type="text/javascript">
|
|
function doTest() {
|
|
document.getElementById('mathOperator').
|
|
setAttribute('mathbackground', 'red');
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
window.addEventListener("MozReftestInvalidate", doTest, false);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<!-- Test dynamic change (see bug 832800) -->
|
|
<math>
|
|
<mstyle displaystyle="true">
|
|
<mfrac>
|
|
<mrow>
|
|
<mi>X</mi>
|
|
<mo id="mathOperator">+</mo>
|
|
<mfrac>
|
|
<mrow><mi>X</mi></mrow>
|
|
<mrow><mi>X</mi></mrow>
|
|
</mfrac>
|
|
</mrow>
|
|
<mrow>
|
|
<mi>X</mi>
|
|
</mrow>
|
|
</mfrac>
|
|
</mstyle>
|
|
</math>
|
|
|
|
</body>
|
|
</html>
|