mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 970977 - Create reftests for bug 477915. r=fredw
This commit is contained in:
parent
f5a3044a06
commit
3a44242bf7
12
layout/reftests/mathml/mo-accent-dynamic-ref.html
Normal file
12
layout/reftests/mathml/mo-accent-dynamic-ref.html
Normal 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>
|
18
layout/reftests/mathml/mo-accent-dynamic.html
Normal file
18
layout/reftests/mathml/mo-accent-dynamic.html
Normal 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>
|
14
layout/reftests/mathml/mo-movablelimits-dynamic-ref.html
Normal file
14
layout/reftests/mathml/mo-movablelimits-dynamic-ref.html
Normal 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>
|
21
layout/reftests/mathml/mo-movablelimits-dynamic.html
Normal file
21
layout/reftests/mathml/mo-movablelimits-dynamic.html
Normal 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>
|
12
layout/reftests/mathml/munderover-accent-dynamic-ref.html
Normal file
12
layout/reftests/mathml/munderover-accent-dynamic-ref.html
Normal 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>
|
18
layout/reftests/mathml/munderover-accent-dynamic.html
Normal file
18
layout/reftests/mathml/munderover-accent-dynamic.html
Normal 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>
|
@ -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>
|
18
layout/reftests/mathml/munderover-accentunder-dynamic.html
Normal file
18
layout/reftests/mathml/munderover-accentunder-dynamic.html
Normal 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>
|
@ -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
|
Loading…
Reference in New Issue
Block a user