mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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>
|