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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <html class="reftest-wait">
     2   <body>
     3   <math>
     4     <mo id="mo1">&#x2061;<!-- FUNCTION APPLICATION --></mo>
     5   </math>
     6   <p>
     7   <math>
     8     <mo id="mo2">&#x2062;<!-- INVISIBLE TIMES --></mo>
     9   </math>
    10   <p>
    11   <math>
    12     <mo id="mo3">&#x2063;<!-- INVISIBLE SEPARATOR --></mo>
    13   </math>
    14   <p>
    15   <math>
    16     <mo id="mo4">&#x2064;<!-- INVISIBLE PLUS --></mo>
    17   </math>
    18   <p>
    19   <!-- Test preferred width after dynamic change-->
    20   <table>
    21     <tr>
    22       <td style="border: 1px solid;"> 
    23         <math>
    24           <mo id="mo5">&ApplyFunction;</mo>
    25         </math>
    26       </td>
    27     </tr>
    28   </table>
    29   <script type="text/javascript">
    30     function doTest() {
    31       document.getElementById('mo1').firstChild.data = '1';
    32       document.getElementById('mo2').firstChild.data = '2';
    33       document.getElementById('mo3').firstChild.data = '3';
    34       document.getElementById('mo4').firstChild.data = '4';
    35       document.getElementById('mo5').firstChild.data = 'x';
    36       document.documentElement.removeAttribute("class");
    37     }
    38     window.addEventListener("MozReftestInvalidate", doTest, false);
    39   </script>
    40   </body>
    41 </html>

mercurial