зеркало из https://github.com/mozilla/gecko-dev.git
38 строки
894 B
HTML
38 строки
894 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);
|
|
</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>
|