layout/reftests/mathml/mstyle-4.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/mathml/mstyle-4.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,78 @@
     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 +<!-- The attributes below should no longer have effect on <mstyle>/<math>
    1.19 +     elements. See bug 838509 -->
    1.20 +
    1.21 +<table>
    1.22 +  <tbody>
    1.23 +    <tr>
    1.24 +      <td>mover: accent</td>
    1.25 +      <td><math xmlns="http://www.w3.org/1998/Math/MathML" accent="false">
    1.26 +          <mstyle accent="false">
    1.27 +            <mover>
    1.28 +              <!-- We assume &#x23de; is accent in the operator dictionary -->
    1.29 +              <mrow>
    1.30 +                <mi>x</mi>
    1.31 +                <mo>+</mo>
    1.32 +                <mi>y</mi>
    1.33 +                <mo>+</mo>
    1.34 +                <mi>z</mi>
    1.35 +              </mrow>
    1.36 +              <mo>&#x23de;</mo>
    1.37 +            </mover>
    1.38 +          </mstyle>
    1.39 +        </math></td>
    1.40 +    </tr>
    1.41 +    <tr>
    1.42 +      <td>munder: accentunder</td>
    1.43 +      <td><math xmlns="http://www.w3.org/1998/Math/MathML" accentunder="false">
    1.44 +          <mstyle accentunder="false">
    1.45 +            <munder>
    1.46 +              <!-- We assume &#x23df; is accent in the operator dictionary -->
    1.47 +              <mrow>
    1.48 +                <mi>x</mi>
    1.49 +                <mo>+</mo>
    1.50 +                <mi>y</mi>
    1.51 +                <mo>+</mo>
    1.52 +                <mi>z</mi>
    1.53 +              </mrow>
    1.54 +              <mo>&#x23df;</mo>
    1.55 +            </munder>
    1.56 +          </mstyle>
    1.57 +        </math></td>
    1.58 +    </tr>
    1.59 +    <tr>
    1.60 +      <td>munderover: accent, accentunder</td>
    1.61 +      <td><math xmlns="http://www.w3.org/1998/Math/MathML" accent="false" accentunder="false">
    1.62 +          <mstyle accent="false" accentunder="false">
    1.63 +            <munderover>
    1.64 +              <!-- We assume &#x23de; and &#x23df; are accents in the operator dictionary -->
    1.65 +              <mrow>
    1.66 +                <mi>x</mi>
    1.67 +                <mo>+</mo>
    1.68 +                <mi>y</mi>
    1.69 +                <mo>+</mo>
    1.70 +                <mi>z</mi>
    1.71 +              </mrow>
    1.72 +              <mo>&#x23df;</mo>
    1.73 +              <mo>&#x23de;</mo>
    1.74 +            </munderover>
    1.75 +          </mstyle>
    1.76 +        </math></td>
    1.77 +    </tr>
    1.78 +  </tbody>
    1.79 +</table>
    1.80 +</body>
    1.81 +</html>

mercurial