layout/reftests/mathml/mathvariant-4-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/mathml/mathvariant-4-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,55 @@
     1.4 +<!doctype html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <title>More mathvariant tests</title>
     1.8 +  </head>
     1.9 +  <body>
    1.10 +    <math>
    1.11 +      <mrow>
    1.12 +        <!-- mathvariant on characters that are already in the Mathematical
    1.13 +             AlphanumericSymbols or are exceptions (should not have any
    1.14 +             effect).-->
    1.15 +        <mtext>&#x1d49c;</mtext>
    1.16 +        <mtext>&#x212c;</mtext>
    1.17 +        <!-- mathvariant on characters for which there is no equivalent mathvariant
    1.18 +             form in Unicode (should not have any effect) -->
    1.19 +        <mtext>&#x00e1;</mtext>
    1.20 +      </mrow>
    1.21 +    </math>
    1.22 +
    1.23 +    <p>
    1.24 +
    1.25 +    <math>
    1.26 +      <mrow>
    1.27 +        <!-- mathvariant on multi-char token elements (should apply to all the 
    1.28 +             characters) -->
    1.29 +        <mtext>&#x1d670;&#x1d670;&#x1d670;</mtext>
    1.30 +      </mrow>
    1.31 +    </math>
    1.32 +
    1.33 +    <p>
    1.34 +
    1.35 +    <math>
    1.36 +      <mrow>
    1.37 +        <!-- mathvariant on mstyle (should apply to all token element descendants
    1.38 +             like single-char mi, mtext etc) -->
    1.39 +        <mtext mathvariant="sans-serif">cos</mtext>
    1.40 +        <mo>&#x2061;</mo>
    1.41 +        <mi mathvariant="sans-serif">x</mi>
    1.42 +      </mrow>
    1.43 +    </math>
    1.44 +
    1.45 +    <p>
    1.46 +
    1.47 +    <math>
    1.48 +      <mrow>
    1.49 +        <!-- mathvariant on math (should apply to all token element descendants
    1.50 +             like single-char mi, mtext etc) -->
    1.51 +        <mtext mathvariant="sans-serif">cos</mtext>
    1.52 +        <mo>&#x2061;</mo>
    1.53 +        <mi mathvariant="sans-serif">x</mi>
    1.54 +      </mrow>
    1.55 +    </math>
    1.56 +
    1.57 +  </body>
    1.58 +</html>

mercurial