layout/reftests/mathml/maction-dynamic-embellished-op.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <html class="reftest-wait">
     3 <head>
     4 <title>dynamic maction and embellished op</title>
     5 </head>
     7 <body>
     9   <p>'<math><maction id="m1"><mi>a</mi><mo>b</mo></maction></math>'</p>
    10   <p>'<math><maction id="m2"><mo>b</mo><mi>a</mi></maction></math>'</p>
    12   <p>"<math><maction id="m3"><mi>a</mi><mo>b</mo></maction></math>"</p>
    13   <p>"<math><maction id="m3bis"><mo>b</mo></maction></math>"</p>
    15   <p>{<math><maction id="m4"><mo>b</mo><mi>a</mi></maction></math>}</p>
    16   <p>{<math><maction id="m4bis"><mi>a</mi></maction></math>}</p>
    19   <p>[<math>
    20     <mstyle id="m5"><maction><mi>a</mi><mo>b</mo></maction></mstyle>
    21   </math>]</p>
    22   <p>[<math>
    23     <mstyle id="m6"><maction><mo>b</mo><mi>a</mi></maction></mstyle>
    24   </math>]</p>
    26   <p>(<math id="m7"><maction><mi>a</mi><mo>b</mo></maction></math>)</p>
    27   <p>(<math id="m8"><maction><mo>b</mo><mi>a</mi></maction></math>)</p>
    29 <script>
    30 function doTest()
    31 {
    32   document.getElementById("m1").setAttribute("selection", "2");
    33   document.getElementById("m2").setAttribute("selection", "2");
    35   var m3 = document.getElementById("m3");
    36   var m3bis = document.getElementById("m3bis");
    37   m3bis.insertBefore(m3.removeChild(m3.firstChild), m3bis.firstChild);
    39   var m4 = document.getElementById("m4");
    40   var m4bis = document.getElementById("m4bis");
    41   m4bis.insertBefore(m4.removeChild(m4.firstChild), m4bis.firstChild);
    43   document.getElementById("m5").setAttribute("selection", "2");
    44   document.getElementById("m6").setAttribute("selection", "2");
    46   document.getElementById("m7").setAttribute("selection", "2");
    47   document.getElementById("m8").setAttribute("selection", "2");
    49   document.documentElement.removeAttribute("class");
    50 }
    52 window.addEventListener("MozReftestInvalidate", doTest, false);
    53 </script>
    55 </body>
    56 </html>

mercurial