layout/reftests/mathml/mo-invisibleoperators-2.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/mathml/mo-invisibleoperators-2.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +<html class="reftest-wait">
     1.5 +  <body>
     1.6 +  <math>
     1.7 +    <mo id="mo1">&#x2061;<!-- FUNCTION APPLICATION --></mo>
     1.8 +  </math>
     1.9 +  <p>
    1.10 +  <math>
    1.11 +    <mo id="mo2">&#x2062;<!-- INVISIBLE TIMES --></mo>
    1.12 +  </math>
    1.13 +  <p>
    1.14 +  <math>
    1.15 +    <mo id="mo3">&#x2063;<!-- INVISIBLE SEPARATOR --></mo>
    1.16 +  </math>
    1.17 +  <p>
    1.18 +  <math>
    1.19 +    <mo id="mo4">&#x2064;<!-- INVISIBLE PLUS --></mo>
    1.20 +  </math>
    1.21 +  <p>
    1.22 +  <!-- Test preferred width after dynamic change-->
    1.23 +  <table>
    1.24 +    <tr>
    1.25 +      <td style="border: 1px solid;"> 
    1.26 +        <math>
    1.27 +          <mo id="mo5">&ApplyFunction;</mo>
    1.28 +        </math>
    1.29 +      </td>
    1.30 +    </tr>
    1.31 +  </table>
    1.32 +  <script type="text/javascript">
    1.33 +    function doTest() {
    1.34 +      document.getElementById('mo1').firstChild.data = '1';
    1.35 +      document.getElementById('mo2').firstChild.data = '2';
    1.36 +      document.getElementById('mo3').firstChild.data = '3';
    1.37 +      document.getElementById('mo4').firstChild.data = '4';
    1.38 +      document.getElementById('mo5').firstChild.data = 'x';
    1.39 +      document.documentElement.removeAttribute("class");
    1.40 +    }
    1.41 +    window.addEventListener("MozReftestInvalidate", doTest, false);
    1.42 +  </script>
    1.43 +  </body>
    1.44 +</html>

mercurial