layout/reftests/mathml/displaystyle-4.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 <!doctype html>
     2 <html class="reftest-wait">
     3   <head>
     4     <title>displaystyle</title>
     5     <meta charset="utf-8"/>
     6     <script type="text/javascript">
     7       function doTest() {
     8         document.getElementById('mathOperator').
     9                  setAttribute('mathbackground', 'red');
    10         document.documentElement.removeAttribute("class");
    11       }
    12       window.addEventListener("MozReftestInvalidate", doTest, false);
    13     </script>
    14   </head>
    15   <body>
    17     <!-- Test dynamic change (see bug 832800) -->
    18     <math>
    19       <mstyle displaystyle="true">
    20         <mfrac>
    21           <mrow>
    22             <mi>X</mi>
    23             <mo id="mathOperator">+</mo>
    24             <mfrac>
    25               <mrow><mi>X</mi></mrow>
    26               <mrow><mi>X</mi></mrow>
    27             </mfrac>
    28           </mrow>
    29           <mrow>
    30             <mi>X</mi>
    31           </mrow>
    32         </mfrac>
    33       </mstyle>
    34     </math>
    36   </body>
    37 </html>

mercurial