layout/reftests/mathml/semantics-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/mathml/semantics-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,97 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     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=utf-8" />
     1.9 +  <title>Various tests for semantics</title>
    1.10 +</head>
    1.11 +
    1.12 +<body>
    1.13 +<!-- displaystyle (bug 468059) -->
    1.14 +<p><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
    1.15 +    <semantics>
    1.16 +      <munderover>
    1.17 +        <mo movablelimits="true">□■□</mo>
    1.18 +        <mtext>■□■□■□</mtext>
    1.19 +        <mtext>■□■□■□</mtext>
    1.20 +      </munderover>
    1.21 +    </semantics>
    1.22 +</math></p>
    1.23 +
    1.24 +<!-- embellished operator (bug 21479) -->
    1.25 +<p><math xmlns="http://www.w3.org/1998/Math/MathML">
    1.26 +  <mover>
    1.27 +    <mspace width="300px" height="10px" mathbackground="black"></mspace>
    1.28 +    <semantics><mo>&#xaf;</mo></semantics>
    1.29 +  </mover>
    1.30 +</math></p>
    1.31 +
    1.32 +<!-- unwanted whitespace (bug 512418) -->
    1.33 +<p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
    1.34 +  <semantics>
    1.35 +    <mrow>
    1.36 +      <mrow>
    1.37 +        <mo>lcm</mo>
    1.38 +        <mo>(</mo>
    1.39 +        <mi>a</mi>
    1.40 +        <mo>,</mo>
    1.41 +        <mi>b</mi>
    1.42 +        <mo>)</mo>
    1.43 +      </mrow>
    1.44 +      <mo>=</mo>
    1.45 +      <mfrac>
    1.46 +        <mrow>
    1.47 +          <mo>(</mo>
    1.48 +          <mi>a</mi>
    1.49 +          <mo>&#x2062;</mo>
    1.50 +          <mi>b</mi>
    1.51 +          <mo>)</mo>
    1.52 +        </mrow>
    1.53 +        <mrow>
    1.54 +          <mo>gcd</mo>
    1.55 +          <mo>(</mo>
    1.56 +          <mi>a</mi>
    1.57 +          <mo>,</mo>
    1.58 +          <mi>b</mi>
    1.59 +          <mo>)</mo>
    1.60 +        </mrow>
    1.61 +      </mfrac>
    1.62 +    </mrow>
    1.63 +  </semantics>
    1.64 +</math>■□■□■□</p>
    1.65 +
    1.66 +<!-- maction and semantics (bug 523037) -->
    1.67 +<p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
    1.68 +  <maction actiontype="toggle" selection="3">
    1.69 +    <mn>1</mn>
    1.70 +    <mn>2</mn>
    1.71 +    <semantics>
    1.72 +      <mn>3</mn>
    1.73 +      <annotation encoding="text">three</annotation>
    1.74 +    </semantics>
    1.75 +    <semantics>
    1.76 +      <mn>4</mn>
    1.77 +      <annotation encoding="text">four</annotation>
    1.78 +    </semantics>
    1.79 +    <mn>5</mn>
    1.80 +  </maction>
    1.81 +</math>■□■□■□</p>
    1.82 +
    1.83 +<!-- maction and semantics (bug 523045) -->
    1.84 +<p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
    1.85 +  <maction actiontype="toggle" selection="4">
    1.86 +    <mn>1</mn>
    1.87 +    <mn>2</mn>
    1.88 +    <semantics>
    1.89 +      <mn>3</mn>
    1.90 +      <annotation encoding="text">three</annotation>
    1.91 +    </semantics>
    1.92 +    <semantics>
    1.93 +      <mn>4</mn>
    1.94 +      <annotation encoding="text">four</annotation>
    1.95 +    </semantics>
    1.96 +    <mn>5</mn>
    1.97 +  </maction>
    1.98 +</math>■□■□■□</p>
    1.99 +</body>
   1.100 +</html>

mercurial