layout/reftests/mathml/quotes-1.xhtml

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
michael@0 2 <head>
michael@0 3 <style type="text/css">
michael@0 4 body { font-family:sans-serif; }
michael@0 5 p { height:2em; }
michael@0 6 </style>
michael@0 7 </head>
michael@0 8 <body>
michael@0 9 <p>:<ms xmlns="http://www.w3.org/1998/Math/MathML" lquote="L" rquote="R">_</ms></p>
michael@0 10 <p>:<ms id="m1" xmlns="http://www.w3.org/1998/Math/MathML">_</ms></p>
michael@0 11 <p>:<ms id="m2" xmlns="http://www.w3.org/1998/Math/MathML">_</ms></p>
michael@0 12 <p>:<ms id="m3" xmlns="http://www.w3.org/1998/Math/MathML" lquote="_">_</ms></p>
michael@0 13 <p>:<ms id="m4" xmlns="http://www.w3.org/1998/Math/MathML" rquote="_">_</ms></p>
michael@0 14 <p>:<ms id="m5" xmlns="http://www.w3.org/1998/Math/MathML" lquote="_" rquote="_">_</ms></p>
michael@0 15 <p>:<ms id="m6" xmlns="http://www.w3.org/1998/Math/MathML" lquote="_">_</ms></p>
michael@0 16 <p>:<ms id="m7" xmlns="http://www.w3.org/1998/Math/MathML" rquote="_">_</ms></p>
michael@0 17 <script>
michael@0 18 function doTest() {
michael@0 19 var m1 = document.getElementById("m1");
michael@0 20 m1.setAttribute("lquote", "L");
michael@0 21 var m2 = document.getElementById("m2");
michael@0 22 m2.setAttribute("rquote", "R");
michael@0 23 var m3 = document.getElementById("m3");
michael@0 24 m3.setAttribute("lquote", "L");
michael@0 25 var m4 = document.getElementById("m4");
michael@0 26 m4.setAttribute("rquote", "R");
michael@0 27 var m5 = document.getElementById("m5");
michael@0 28 m5.removeAttribute("lquote");
michael@0 29 m5.removeAttribute("rquote");
michael@0 30 var m6 = document.getElementById("m6");
michael@0 31 m6.removeAttribute("lquote");
michael@0 32 var m7 = document.getElementById("m7");
michael@0 33 m7.removeAttribute("rquote");
michael@0 34 document.documentElement.removeAttribute('class');
michael@0 35 }
michael@0 36 window.addEventListener("MozReftestInvalidate", doTest, false);
michael@0 37 </script>
michael@0 38 </body>
michael@0 39 </html>

mercurial