layout/reftests/mathml/mstyle-3-ref.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/mathml/mstyle-3-ref.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,133 @@
     1.4 +<?xml version="1.0" encoding="us-ascii"?>
     1.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.6 +<head>
     1.7 +  <meta http-equiv="content-type"
     1.8 +  content="application/xhtml+xml; charset=us-ascii" />
     1.9 +  <title>Test mstyle</title>
    1.10 +  <style type="text/css">
    1.11 +    table { width: 100%;  border-collapse: collapse; }
    1.12 +    td { border: solid black 1px; }
    1.13 +  </style>
    1.14 +</head>
    1.15 +
    1.16 +<body>
    1.17 +
    1.18 +<table>
    1.19 +  <tbody>
    1.20 +    <tr>
    1.21 +      <td>mo: form</td>
    1.22 +      <td><math xmlns="http://www.w3.org/1998/Math/MathML">
    1.23 +          <mstyle>
    1.24 +            <mrow>
    1.25 +              <!-- We assume that the infix/postfix forms of _ do -->
    1.26 +              <!-- not have the same lspace/rspace values in the operator dictionary -->
    1.27 +              <mtext>_</mtext>
    1.28 +              <mo>_</mo>
    1.29 +              <mtext>_</mtext>
    1.30 +            </mrow>
    1.31 +          </mstyle>
    1.32 +        </math></td>
    1.33 +    </tr>
    1.34 +    <tr>
    1.35 +      <td>mo: lspace, rspace</td>
    1.36 +      <td><math xmlns="http://www.w3.org/1998/Math/MathML">
    1.37 +          <mstyle>
    1.38 +            <mrow>
    1.39 +              <!-- We assume that the infix form of _ has -->
    1.40 +              <!-- nonzero lspace/rspace values in the operator dictionary -->
    1.41 +              <mtext>_</mtext>
    1.42 +              <mo>_</mo>
    1.43 +              <mtext>_</mtext>
    1.44 +            </mrow>
    1.45 +          </mstyle>
    1.46 +        </math></td>
    1.47 +    </tr>
    1.48 +    <tr>
    1.49 +      <td>mo: stretchy</td>
    1.50 +      <td><math xmlns="http://www.w3.org/1998/Math/MathML">
    1.51 +          <mstyle>
    1.52 +            <mover>
    1.53 +              <!-- We assume that the arrow has stretchy=true in the operator dictionary -->
    1.54 +              <mtext>abcd</mtext>
    1.55 +              <mo>&#x2192;</mo>
    1.56 +            </mover>
    1.57 +          </mstyle>
    1.58 +        </math></td>
    1.59 +    </tr>
    1.60 +    <tr>
    1.61 +      <td>mo: accent</td>
    1.62 +      <td><math xmlns="http://www.w3.org/1998/Math/MathML">
    1.63 +          <mstyle>
    1.64 +            <mover>
    1.65 +              <!-- We assume &#x23de; has accent=true in the operator dictionary -->
    1.66 +              <mrow>
    1.67 +                <mi>x</mi>
    1.68 +                <mo>+</mo>
    1.69 +                <mi>y</mi>
    1.70 +                <mo>+</mo>
    1.71 +                <mi>z</mi>
    1.72 +              </mrow>
    1.73 +              <mo>&#x23de;</mo>
    1.74 +            </mover>
    1.75 +          </mstyle>
    1.76 +        </math></td>
    1.77 +    </tr>
    1.78 +    <tr>
    1.79 +      <td>mo: maxsize</td>
    1.80 +      <td><math xmlns="http://www.w3.org/1998/Math/MathML">
    1.81 +          <mstyle>
    1.82 +            <mo>(</mo>
    1.83 +            <mspace height="3em"/>
    1.84 +          </mstyle>
    1.85 +        </math></td>
    1.86 +    </tr>
    1.87 +    <tr>
    1.88 +      <td>mo: minsize</td>
    1.89 +      <td><math xmlns="http://www.w3.org/1998/Math/MathML">
    1.90 +          <mstyle>
    1.91 +            <mo>(</mo>
    1.92 +            <mspace height="1em"/>
    1.93 +          </mstyle>
    1.94 +        </math></td>
    1.95 +    </tr>
    1.96 +    <tr>
    1.97 +      <td>mo: symmetric</td>
    1.98 +      <td><math xmlns="http://www.w3.org/1998/Math/MathML">
    1.99 +          <!-- We assume that ( has symmetric=true in the operator dictionary -->
   1.100 +          <mstyle>
   1.101 +            <mtext>_</mtext>
   1.102 +            <mo minsize="2">(</mo>
   1.103 +            <mtext>_</mtext>
   1.104 +          </mstyle>
   1.105 +        </math></td>
   1.106 +    </tr>
   1.107 +    <tr>
   1.108 +      <td>mo: movablelimits</td>
   1.109 +      <td><math xmlns="http://www.w3.org/1998/Math/MathML">
   1.110 +          <!-- We assume that &#x2211; has movablelimits=true in the operator dictionary -->
   1.111 +          <mstyle>
   1.112 +            <munderover>
   1.113 +              <mo>&#x2211;</mo>
   1.114 +              <mi>a</mi>
   1.115 +              <mi>b</mi>
   1.116 +            </munderover>
   1.117 +          </mstyle>
   1.118 +        </math></td>
   1.119 +    </tr>
   1.120 +    <tr>
   1.121 +      <td>mo: largeop</td>
   1.122 +      <td><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
   1.123 +          <!-- We assume that &#x2211; has largeop=true in the operator dictionary -->
   1.124 +          <mstyle>
   1.125 +            <mo>&#x2211;</mo>
   1.126 +          </mstyle>
   1.127 +        </math></td>
   1.128 +    </tr>
   1.129 +    <!-- 
   1.130 +            fence: This attribute generally has no direct effect on the visual rendering.
   1.131 +            separator: This attribute generally has no direct effect on the visual rendering.
   1.132 +      -->
   1.133 +  </tbody>
   1.134 +</table>
   1.135 +</body>
   1.136 +</html>

mercurial