diff options
Diffstat (limited to 'testing/web-platform/mozilla/tests/mathml/mo-accent')
6 files changed, 78 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/mathml/mo-accent/mo-accent-dynamic-ref.html b/testing/web-platform/mozilla/tests/mathml/mo-accent/mo-accent-dynamic-ref.html new file mode 100644 index 0000000000..566089f93f --- /dev/null +++ b/testing/web-platform/mozilla/tests/mathml/mo-accent/mo-accent-dynamic-ref.html @@ -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> diff --git a/testing/web-platform/mozilla/tests/mathml/mo-accent/mo-accent-dynamic.html b/testing/web-platform/mozilla/tests/mathml/mo-accent/mo-accent-dynamic.html new file mode 100644 index 0000000000..4a5eca4c25 --- /dev/null +++ b/testing/web-platform/mozilla/tests/mathml/mo-accent/mo-accent-dynamic.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <head> + <title>mo@accent</title> + <meta charset="utf-8"/> + <link rel="match" href="mo-accent-dynamic-ref.html"/> + <script type="text/javascript"> + function doTest() { + document.getElementById('mathOperator').setAttribute('accent', 'true'); + document.documentElement.removeAttribute("class"); + } + window.addEventListener("TestRendered",doTest); + </script> + </head> + <body> + <math> + <munderover><mtext>X</mtext><mo id="mathOperator">O</mo><mo>O</mo></munderover> + </math> + </body> +</html> diff --git a/testing/web-platform/mozilla/tests/mathml/mo-accent/op-dict-10-ref.html b/testing/web-platform/mozilla/tests/mathml/mo-accent/op-dict-10-ref.html new file mode 100644 index 0000000000..8026c82489 --- /dev/null +++ b/testing/web-platform/mozilla/tests/mathml/mo-accent/op-dict-10-ref.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> + <title>op-dict mo accent</title> +</head> +<body> + <math> + <munderover><mtext>X</mtext><mo accent="true">→</mo><mo>O</mo></munderover> + </math> +</body> +</html> diff --git a/testing/web-platform/mozilla/tests/mathml/mo-accent/op-dict-10.html b/testing/web-platform/mozilla/tests/mathml/mo-accent/op-dict-10.html new file mode 100644 index 0000000000..67217592ca --- /dev/null +++ b/testing/web-platform/mozilla/tests/mathml/mo-accent/op-dict-10.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> +<head> + <title>op-dict mo accent</title> + <link rel="match" href="op-dict-10-ref.html"/> +</head> +<body> + <math> + <munderover><mtext>X</mtext><mo>→</mo><mo>O</mo></munderover> + </math> +</body> +</html> diff --git a/testing/web-platform/mozilla/tests/mathml/mo-accent/op-dict-11-ref.html b/testing/web-platform/mozilla/tests/mathml/mo-accent/op-dict-11-ref.html new file mode 100644 index 0000000000..8026c82489 --- /dev/null +++ b/testing/web-platform/mozilla/tests/mathml/mo-accent/op-dict-11-ref.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> + <title>op-dict mo accent</title> +</head> +<body> + <math> + <munderover><mtext>X</mtext><mo accent="true">→</mo><mo>O</mo></munderover> + </math> +</body> +</html> diff --git a/testing/web-platform/mozilla/tests/mathml/mo-accent/op-dict-11.html b/testing/web-platform/mozilla/tests/mathml/mo-accent/op-dict-11.html new file mode 100644 index 0000000000..d2b93644ce --- /dev/null +++ b/testing/web-platform/mozilla/tests/mathml/mo-accent/op-dict-11.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> +<head> + <title>op-dict mo accent</title> + <link rel="mismatch" href="op-dict-11-ref.html"/> +</head> +<body> + <math> + <munderover><mtext>X</mtext><mo accent="false">→</mo><mo>O</mo></munderover> + </math> +</body> +</html> |