Bug 970977 - Create reftests for bug 477915. r=fredw

This commit is contained in:
Anuj Agarwal 2014-02-11 13:41:32 -05:00
parent f5a3044a06
commit 3a44242bf7
9 changed files with 129 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<!doctype html>
<html>
<head>
<title>mo@accent</title>
<meta charset="utf-8"/>
</head>
<body>
<math>
<munderover><mtext>X</mtext><mo accent="true">O</mo><mo>O</mo></munderover>
</math>
</body>
</html>

View File

@ -0,0 +1,18 @@
<html class="reftest-wait">
<head>
<title>mo@accent</title>
<meta charset="utf-8"/>
<script type="text/javascript">
function doTest() {
document.getElementById('mathOperator').setAttribute('accent', 'true');
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate",doTest, false);
</script>
</head>
<body>
<math>
<munderover><mtext>X</mtext><mo id="mathOperator">O</mo><mo>O</mo></munderover>
</math>
</body>
</html>

View File

@ -0,0 +1,14 @@
<html>
<head>
<title>mo@movablelimits</title>
<meta charset="utf-8"/>
</head>
<body>
<math>
<munder>
<mo></mo>
<mi>x</mi>
</munder>
</math>
</body>
</html>

View File

@ -0,0 +1,21 @@
<html class="reftest-wait">
<head>
<title>mo@movablelimits</title>
<meta charset="utf-8"/>
<script type="text/javascript">
function doTest() {
document.getElementById('a').removeAttribute('movablelimits');
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate",doTest, false);
</script>
</head>
<body>
<math>
<munder>
<mo id="a" movablelimits="false"></mo>
<mi>x</mi>
</munder>
</math>
</body>
</html>

View File

@ -0,0 +1,12 @@
<!doctype html>
<html>
<head>
<title>munderover@accent</title>
<meta charset="utf-8"/>
</head>
<body>
<math>
<munderover accent="true"><mtext>X</mtext><mo>O</mo><mo>O</mo></munderover>
</math>
</body>
</html>

View File

@ -0,0 +1,18 @@
<html class="reftest-wait">
<head>
<title>munderover@accent</title>
<meta charset="utf-8"/>
<script type="text/javascript">
function doTest() {
document.getElementById('mathOperator').setAttribute('accent', 'true');
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate",doTest, false);
</script>
</head>
<body>
<math>
<munderover id="mathOperator"><mtext>X</mtext><mo>O</mo><mo>O</mo></munderover>
</math>
</body>
</html>

View File

@ -0,0 +1,12 @@
<!doctype html>
<html>
<head>
<title>munderover@accentunder</title>
<meta charset="utf-8"/>
</head>
<body>
<math>
<munderover accentunder="true"><mtext>X</mtext><mo>O</mo><mo>O</mo></munderover>
</math>
</body>
</html>

View File

@ -0,0 +1,18 @@
<html class="reftest-wait">
<head>
<title>munderover@accentunder</title>
<meta charset="utf-8"/>
<script type="text/javascript">
function doTest() {
document.getElementById('mathOperator').setAttribute('accentunder', 'true');
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate",doTest, false);
</script>
</head>
<body>
<math>
<munderover id="mathOperator"><mtext>X</mtext><mo>O</mo><mo>O</mo></munderover>
</math>
</body>
</html>

View File

@ -186,3 +186,7 @@ fails == whitespace-trim-4.html whitespace-trim-4-ref.html # Bug 787215
== ssty-4.html ssty-4-ref.html == ssty-4.html ssty-4-ref.html
== mathscript-1.html mathscript-1-ref.html == mathscript-1.html mathscript-1-ref.html
== mathscript-2.html mathscript-2-ref.html == mathscript-2.html mathscript-2-ref.html
== mo-accent-dynamic.html mo-accent-dynamic-ref.html
== mo-movablelimits-dynamic.html mo-movablelimits-dynamic-ref.html
== munderover-accent-dynamic.html munderover-accent-dynamic-ref.html
== munderover-accentunder-dynamic.html munderover-accentunder-dynamic-ref.html