diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/mathml/quotes-1.xhtml | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/mathml/quotes-1.xhtml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/layout/reftests/mathml/quotes-1.xhtml b/layout/reftests/mathml/quotes-1.xhtml new file mode 100644 index 0000000000..e833966f8a --- /dev/null +++ b/layout/reftests/mathml/quotes-1.xhtml @@ -0,0 +1,39 @@ +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> +<head> +<style type="text/css"> +body { font-family:sans-serif; } +p { height:2em; } +</style> +</head> +<body> +<p>:<ms xmlns="http://www.w3.org/1998/Math/MathML" lquote="L" rquote="R">_</ms></p> +<p>:<ms id="m1" xmlns="http://www.w3.org/1998/Math/MathML">_</ms></p> +<p>:<ms id="m2" xmlns="http://www.w3.org/1998/Math/MathML">_</ms></p> +<p>:<ms id="m3" xmlns="http://www.w3.org/1998/Math/MathML" lquote="_">_</ms></p> +<p>:<ms id="m4" xmlns="http://www.w3.org/1998/Math/MathML" rquote="_">_</ms></p> +<p>:<ms id="m5" xmlns="http://www.w3.org/1998/Math/MathML" lquote="_" rquote="_">_</ms></p> +<p>:<ms id="m6" xmlns="http://www.w3.org/1998/Math/MathML" lquote="_">_</ms></p> +<p>:<ms id="m7" xmlns="http://www.w3.org/1998/Math/MathML" rquote="_">_</ms></p> +<script> +function doTest() { + var m1 = document.getElementById("m1"); + m1.setAttribute("lquote", "L"); + var m2 = document.getElementById("m2"); + m2.setAttribute("rquote", "R"); + var m3 = document.getElementById("m3"); + m3.setAttribute("lquote", "L"); + var m4 = document.getElementById("m4"); + m4.setAttribute("rquote", "R"); + var m5 = document.getElementById("m5"); + m5.removeAttribute("lquote"); + m5.removeAttribute("rquote"); + var m6 = document.getElementById("m6"); + m6.removeAttribute("lquote"); + var m7 = document.getElementById("m7"); + m7.removeAttribute("rquote"); + document.documentElement.removeAttribute('class'); +} +window.addEventListener("MozReftestInvalidate", doTest, false); +</script> +</body> +</html> |