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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial