blob: 3dd47baa7bc92771ee1c751f258a40f4e29b449f (
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
|
<!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>
|