Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | <!doctype html> |
michael@0 | 2 | <html class="reftest-wait"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>displaystyle</title> |
michael@0 | 5 | <meta charset="utf-8"/> |
michael@0 | 6 | <script type="text/javascript"> |
michael@0 | 7 | function doTest() { |
michael@0 | 8 | document.getElementById("m1").setAttribute("displaystyle", "true"); |
michael@0 | 9 | document.getElementById("m2").setAttribute("displaystyle", "true"); |
michael@0 | 10 | document.getElementById("m3").setAttribute("displaystyle", "true"); |
michael@0 | 11 | document.getElementById("m4").removeAttribute("displaystyle"); |
michael@0 | 12 | document.getElementById("m5").removeAttribute("displaystyle"); |
michael@0 | 13 | document.getElementById("m6").removeAttribute("displaystyle"); |
michael@0 | 14 | document.documentElement.removeAttribute("class"); |
michael@0 | 15 | } |
michael@0 | 16 | window.addEventListener("MozReftestInvalidate", doTest, false); |
michael@0 | 17 | </script> |
michael@0 | 18 | </head> |
michael@0 | 19 | <body> |
michael@0 | 20 | |
michael@0 | 21 | <!-- Test dynamic change of displaystyle --> |
michael@0 | 22 | <math id="m1"> |
michael@0 | 23 | <munder><mo movablelimits="true">O</mo><mo>O</mo></munder> |
michael@0 | 24 | <mfrac><mi>x</mi><mi>y</mi></mfrac> |
michael@0 | 25 | </math> |
michael@0 | 26 | <math> |
michael@0 | 27 | <mstyle id="m2"> |
michael@0 | 28 | <munder><mo movablelimits="true">O</mo><mo>O</mo></munder> |
michael@0 | 29 | <mfrac><mi>x</mi><mi>y</mi></mfrac> |
michael@0 | 30 | </mstyle> |
michael@0 | 31 | </math> |
michael@0 | 32 | <math> |
michael@0 | 33 | <mtable id="m3"> |
michael@0 | 34 | <mtr> |
michael@0 | 35 | <mtd> |
michael@0 | 36 | <munder><mo movablelimits="true">O</mo><mo>O</mo></munder> |
michael@0 | 37 | <mfrac><mi>x</mi><mi>y</mi></mfrac> |
michael@0 | 38 | </mtd> |
michael@0 | 39 | </mtr> |
michael@0 | 40 | </mtable> |
michael@0 | 41 | </math> |
michael@0 | 42 | <math id="m4" displaystyle="true"> |
michael@0 | 43 | <munder><mo movablelimits="true">O</mo><mo>O</mo></munder> |
michael@0 | 44 | <mfrac><mi>x</mi><mi>y</mi></mfrac> |
michael@0 | 45 | </math> |
michael@0 | 46 | <math> |
michael@0 | 47 | <mstyle id="m5" displaystyle="true"> |
michael@0 | 48 | <munder><mo movablelimits="true">O</mo><mo>O</mo></munder> |
michael@0 | 49 | <mfrac><mi>x</mi><mi>y</mi></mfrac> |
michael@0 | 50 | </mstyle> |
michael@0 | 51 | </math> |
michael@0 | 52 | <math> |
michael@0 | 53 | <mtable id="m6" displaystyle="true"> |
michael@0 | 54 | <mtr> |
michael@0 | 55 | <mtd> |
michael@0 | 56 | <munder><mo movablelimits="true">O</mo><mo>O</mo></munder> |
michael@0 | 57 | <mfrac><mi>x</mi><mi>y</mi></mfrac> |
michael@0 | 58 | </mtd> |
michael@0 | 59 | </mtr> |
michael@0 | 60 | </mtable> |
michael@0 | 61 | </math> |
michael@0 | 62 | |
michael@0 | 63 | </body> |
michael@0 | 64 | </html> |