layout/reftests/mathml/mo-invisibleoperators.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/mathml/mo-invisibleoperators.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<html>
     1.5 +  <math>
     1.6 +    <mrow>
     1.7 +      <mn>1</mn>
     1.8 +      <mo>&#x2061;<!-- FUNCTION APPLICATION --></mo>
     1.9 +      <mn>2</mn>
    1.10 +      <mo>&#x2062;<!-- INVISIBLE TIMES --></mo>
    1.11 +      <mn>3</mn>
    1.12 +      <mo>&#x2063;<!-- INVISIBLE SEPARATOR --></mo>
    1.13 +      <mn>4</mn>
    1.14 +      <mo>&#x2064;<!-- INVISIBLE PLUS --></mo>
    1.15 +      <mn>5</mn>
    1.16 +      <!-- Hack.  The invisible operators may not belong to the same font as
    1.17 +           the numbers, so they may have different heights.  The mspace
    1.18 +           compensates for this by ensuring the height of the mrow does not
    1.19 +           depend on character height -->
    1.20 +      <mspace height="2em" width="0.1em"></mspace>
    1.21 +    </mrow>
    1.22 +  </math>
    1.23 +  <p>
    1.24 +  <!-- Should be invisible -->
    1.25 +  <math>
    1.26 +    <mo style="background: red; color: blue;">&ApplyFunction;</mo>
    1.27 +  </math>
    1.28 +</html>

mercurial