layout/reftests/mathml/semantics-1-ref.xhtml

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     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     <mstyle displaystyle="true">
    14       <munderover>
    15         <mo movablelimits="true">□■□</mo>
    16         <mtext>■□■□■□</mtext>
    17         <mtext>■□■□■□</mtext>
    18       </munderover>
    19     </mstyle>
    20   </semantics>
    21 </math></p>
    23 <!-- embellished operator (bug 21479) -->
    24 <p><math xmlns="http://www.w3.org/1998/Math/MathML">
    25   <mover>
    26     <mspace width="300px" height="10px" mathbackground="black"></mspace>
    27     <mo>&#xaf;</mo>
    28   </mover>
    29 </math></p>
    31 <!-- unwanted whitespace (bug 512418) -->
    32 <p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
    33     <mrow>
    34       <mrow>
    35         <mo>lcm</mo>
    36         <mo>(</mo>
    37         <mi>a</mi>
    38         <mo>,</mo>
    39         <mi>b</mi>
    40         <mo>)</mo>
    41       </mrow>
    42       <mo>=</mo>
    43       <mfrac>
    44         <mrow>
    45           <mo>(</mo>
    46           <mi>a</mi>
    47           <mo>&#x2062;</mo>
    48           <mi>b</mi>
    49           <mo>)</mo>
    50         </mrow>
    51         <mrow>
    52           <mo>gcd</mo>
    53           <mo>(</mo>
    54           <mi>a</mi>
    55           <mo>,</mo>
    56           <mi>b</mi>
    57           <mo>)</mo>
    58         </mrow>
    59       </mfrac>
    60     </mrow>
    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     <mn>3</mn>
    69     <mn>4</mn>
    70     <mn>5</mn>
    71   </maction>
    72 </math>■□■□■□</p>
    74 <!-- maction and semantics (bug 523045) -->
    75 <p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
    76   <maction actiontype="toggle" selection="4">
    77     <mn>1</mn>
    78     <mn>2</mn>
    79     <mn>3</mn>
    80     <mn>4</mn>
    81     <mn>5</mn>
    82   </maction>
    83 </math>■□■□■□</p>
    84 </body>
    85 </html>

mercurial