Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | <html class="reftest-wait"> |
michael@0 | 2 | <body> |
michael@0 | 3 | <p> |
michael@0 | 4 | <math> |
michael@0 | 5 | <mo id="mo1">%</mo> |
michael@0 | 6 | </math> |
michael@0 | 7 | </p> |
michael@0 | 8 | <p> |
michael@0 | 9 | <math> |
michael@0 | 10 | <mo id="mo2" lspace="3em">%</mo> |
michael@0 | 11 | </math> |
michael@0 | 12 | </p> |
michael@0 | 13 | <p> |
michael@0 | 14 | <math> |
michael@0 | 15 | <mo id="mo3">%</mo> |
michael@0 | 16 | <mo>%</mo> |
michael@0 | 17 | </math> |
michael@0 | 18 | </p> |
michael@0 | 19 | <p> |
michael@0 | 20 | <math> |
michael@0 | 21 | <mo id="mo4" lspace="3em">%</mo> |
michael@0 | 22 | <mo >%</mo> |
michael@0 | 23 | </math> |
michael@0 | 24 | </p> |
michael@0 | 25 | <p> |
michael@0 | 26 | <math id="math1"> |
michael@0 | 27 | <mo>%</mo> |
michael@0 | 28 | </math> |
michael@0 | 29 | </p> |
michael@0 | 30 | <p> |
michael@0 | 31 | <math id="math2"> |
michael@0 | 32 | <mo>%</mo> |
michael@0 | 33 | <mo id="mo5">%</mo> |
michael@0 | 34 | </math> |
michael@0 | 35 | </p> |
michael@0 | 36 | <script type="text/javascript"> |
michael@0 | 37 | function doTest() { |
michael@0 | 38 | // Add and remove lspace |
michael@0 | 39 | document.getElementById("mo1").setAttribute("lspace", "3em"); |
michael@0 | 40 | document.getElementById("mo2").removeAttribute("lspace"); |
michael@0 | 41 | // and again but with an inferred mrow |
michael@0 | 42 | document.getElementById("mo3").setAttribute("lspace", "3em"); |
michael@0 | 43 | document.getElementById("mo4").removeAttribute("lspace"); |
michael@0 | 44 | |
michael@0 | 45 | // Change to/from inferred mrow |
michael@0 | 46 | var mo1 = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mo"); |
michael@0 | 47 | mo1.innerHTML = "%"; |
michael@0 | 48 | document.getElementById("math1").appendChild(mo1); |
michael@0 | 49 | document.getElementById("math2").removeChild(document.getElementById("mo5")); |
michael@0 | 50 | |
michael@0 | 51 | document.documentElement.removeAttribute("class"); |
michael@0 | 52 | } |
michael@0 | 53 | window.addEventListener("MozReftestInvalidate", doTest, false); |
michael@0 | 54 | </script> |
michael@0 | 55 | </body> |
michael@0 | 56 | </html> |