layout/reftests/mathml/semantics-1.xhtml

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <?xml version="1.0" encoding="utf-8"?>
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3 <head>
     4   <meta http-equiv="content-type"
     5   content="application/xhtml+xml; charset=utf-8" />
     6   <title>Various tests for semantics</title>
     7 </head>
     9 <body>
    10 <!-- displaystyle (bug 468059) -->
    11 <p><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
    12     <semantics>
    13       <munderover>
    14         <mo movablelimits="true">□■□</mo>
    15         <mtext>■□■□■□</mtext>
    16         <mtext>■□■□■□</mtext>
    17       </munderover>
    18     </semantics>
    19 </math></p>
    21 <!-- embellished operator (bug 21479) -->
    22 <p><math xmlns="http://www.w3.org/1998/Math/MathML">
    23   <mover>
    24     <mspace width="300px" height="10px" mathbackground="black"></mspace>
    25     <semantics><mo>&#xaf;</mo></semantics>
    26   </mover>
    27 </math></p>
    29 <!-- unwanted whitespace (bug 512418) -->
    30 <p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
    31   <semantics>
    32     <mrow>
    33       <mrow>
    34         <mo>lcm</mo>
    35         <mo>(</mo>
    36         <mi>a</mi>
    37         <mo>,</mo>
    38         <mi>b</mi>
    39         <mo>)</mo>
    40       </mrow>
    41       <mo>=</mo>
    42       <mfrac>
    43         <mrow>
    44           <mo>(</mo>
    45           <mi>a</mi>
    46           <mo>&#x2062;</mo>
    47           <mi>b</mi>
    48           <mo>)</mo>
    49         </mrow>
    50         <mrow>
    51           <mo>gcd</mo>
    52           <mo>(</mo>
    53           <mi>a</mi>
    54           <mo>,</mo>
    55           <mi>b</mi>
    56           <mo>)</mo>
    57         </mrow>
    58       </mfrac>
    59     </mrow>
    60   </semantics>
    61 </math>■□■□■□</p>
    63 <!-- maction and semantics (bug 523037) -->
    64 <p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
    65   <maction actiontype="toggle" selection="3">
    66     <mn>1</mn>
    67     <mn>2</mn>
    68     <semantics>
    69       <mn>3</mn>
    70       <annotation encoding="text">three</annotation>
    71     </semantics>
    72     <semantics>
    73       <mn>4</mn>
    74       <annotation encoding="text">four</annotation>
    75     </semantics>
    76     <mn>5</mn>
    77   </maction>
    78 </math>■□■□■□</p>
    80 <!-- maction and semantics (bug 523045) -->
    81 <p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
    82   <maction actiontype="toggle" selection="4">
    83     <mn>1</mn>
    84     <mn>2</mn>
    85     <semantics>
    86       <mn>3</mn>
    87       <annotation encoding="text">three</annotation>
    88     </semantics>
    89     <semantics>
    90       <mn>4</mn>
    91       <annotation encoding="text">four</annotation>
    92     </semantics>
    93     <mn>5</mn>
    94   </maction>
    95 </math>■□■□■□</p>
    96 </body>
    97 </html>

mercurial