layout/reftests/mathml/mathscript-2-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/mathml/mathscript-2-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<!doctype html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <title>Dynamic OpenType 'math' script tests</title>
     1.8 +    <!-- See mathscript-1-ref.html for an explanation of this font -->
     1.9 +    <style type="text/css" media="screen, print">
    1.10 +    @font-face {
    1.11 +      font-family: "mathssty";
    1.12 +      src: url("mathssty.woff");
    1.13 +    }
    1.14 +  </style>
    1.15 +  </head>
    1.16 +  <body>
    1.17 +
    1.18 +  <!-- Demonstrate that it has no effect outside MathML -->
    1.19 +  <div style="font-family: 'mathssty';" >DD</div>
    1.20 +
    1.21 +  <!-- Demonstrate that it works within MathML -->
    1.22 +  <math>
    1.23 +    <mstyle style="font-family: 'mathssty';">
    1.24 +      <mo>CC</mo>
    1.25 +    </mstyle>
    1.26 +  </math>
    1.27 +  </body>
    1.28 +</html>

mercurial