layout/reftests/mathml/mstyle-3.xhtml

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 <?xml version="1.0" encoding="us-ascii"?>
michael@0 2 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 3 <head>
michael@0 4 <meta http-equiv="content-type"
michael@0 5 content="application/xhtml+xml; charset=us-ascii" />
michael@0 6 <title>Test mstyle</title>
michael@0 7 <style type="text/css">
michael@0 8 table { width: 100%; border-collapse: collapse; }
michael@0 9 td { border: solid black 1px; }
michael@0 10 </style>
michael@0 11 </head>
michael@0 12
michael@0 13 <body>
michael@0 14
michael@0 15 <!-- The attributes below (except math@display) should no longer have effect on
michael@0 16 <mstyle>/<math> elements. See bug 838509 -->
michael@0 17
michael@0 18 <table>
michael@0 19 <tbody>
michael@0 20 <tr>
michael@0 21 <td>mo: form</td>
michael@0 22 <td><math xmlns="http://www.w3.org/1998/Math/MathML" form="postfix">
michael@0 23 <mstyle form="postfix">
michael@0 24 <mrow>
michael@0 25 <!-- We assume that the infix/postfix forms of _ do -->
michael@0 26 <!-- not have the same lspace/rspace values in the operator dictionary -->
michael@0 27 <mtext>_</mtext>
michael@0 28 <mo>_</mo>
michael@0 29 <mtext>_</mtext>
michael@0 30 </mrow>
michael@0 31 </mstyle>
michael@0 32 </math></td>
michael@0 33 </tr>
michael@0 34 <tr>
michael@0 35 <td>mo: lspace, rspace</td>
michael@0 36 <td><math xmlns="http://www.w3.org/1998/Math/MathML" lspace="0" rspace="0">
michael@0 37 <mstyle lspace="0" rspace="0">
michael@0 38 <mrow>
michael@0 39 <!-- We assume that the infix form of _ has -->
michael@0 40 <!-- nonzero lspace/rspace values in the operator dictionary -->
michael@0 41 <mtext>_</mtext>
michael@0 42 <mo>_</mo>
michael@0 43 <mtext>_</mtext>
michael@0 44 </mrow>
michael@0 45 </mstyle>
michael@0 46 </math></td>
michael@0 47 </tr>
michael@0 48 <tr>
michael@0 49 <td>mo: stretchy</td>
michael@0 50 <td><math xmlns="http://www.w3.org/1998/Math/MathML" stretchy="false">
michael@0 51 <mstyle stretchy="false">
michael@0 52 <mover>
michael@0 53 <!-- We assume that the arrow has stretchy=true in the operator dictionary -->
michael@0 54 <mtext>abcd</mtext>
michael@0 55 <mo>&#x2192;</mo>
michael@0 56 </mover>
michael@0 57 </mstyle>
michael@0 58 </math></td>
michael@0 59 </tr>
michael@0 60 <tr>
michael@0 61 <td>mo: accent</td>
michael@0 62 <td><math xmlns="http://www.w3.org/1998/Math/MathML" accent="false">
michael@0 63 <mstyle accent="false">
michael@0 64 <mover>
michael@0 65 <!-- We assume &#x23de; has accent=true in the operator dictionary -->
michael@0 66 <mrow>
michael@0 67 <mi>x</mi>
michael@0 68 <mo>+</mo>
michael@0 69 <mi>y</mi>
michael@0 70 <mo>+</mo>
michael@0 71 <mi>z</mi>
michael@0 72 </mrow>
michael@0 73 <mo>&#x23de;</mo>
michael@0 74 </mover>
michael@0 75 </mstyle>
michael@0 76 </math></td>
michael@0 77 </tr>
michael@0 78 <tr>
michael@0 79 <td>mo: maxsize</td>
michael@0 80 <td><math xmlns="http://www.w3.org/1998/Math/MathML" maxsize="1">
michael@0 81 <mstyle maxsize="1">
michael@0 82 <mo>(</mo>
michael@0 83 <mspace height="3em"/>
michael@0 84 </mstyle>
michael@0 85 </math></td>
michael@0 86 </tr>
michael@0 87 <tr>
michael@0 88 <td>mo: minsize</td>
michael@0 89 <td><math xmlns="http://www.w3.org/1998/Math/MathML" minsize="3">
michael@0 90 <mstyle minsize="3">
michael@0 91 <mo>(</mo>
michael@0 92 <mspace height="1em"/>
michael@0 93 </mstyle>
michael@0 94 </math></td>
michael@0 95 </tr>
michael@0 96 <tr>
michael@0 97 <td>mo: symmetric</td>
michael@0 98 <td><math xmlns="http://www.w3.org/1998/Math/MathML" symmetric="false">
michael@0 99 <!-- We assume that ( has symmetric=true in the operator dictionary -->
michael@0 100 <mstyle symmetric="false">
michael@0 101 <mtext>_</mtext>
michael@0 102 <mo minsize="2">(</mo>
michael@0 103 <mtext>_</mtext>
michael@0 104 </mstyle>
michael@0 105 </math></td>
michael@0 106 </tr>
michael@0 107 <tr>
michael@0 108 <td>mo: movablelimits</td>
michael@0 109 <td><math xmlns="http://www.w3.org/1998/Math/MathML" movablelimits="false">
michael@0 110 <!-- We assume that &#x2211; has movablelimits=true in the operator dictionary -->
michael@0 111 <mstyle movablelimits="false">
michael@0 112 <munderover>
michael@0 113 <mo>&#x2211;</mo>
michael@0 114 <mi>a</mi>
michael@0 115 <mi>b</mi>
michael@0 116 </munderover>
michael@0 117 </mstyle>
michael@0 118 </math></td>
michael@0 119 </tr>
michael@0 120 <tr>
michael@0 121 <td>mo: largeop</td>
michael@0 122 <td><math xmlns="http://www.w3.org/1998/Math/MathML" display="block" largeop="false">
michael@0 123 <!-- We assume that &#x2211; has largeop=true in the operator dictionary -->
michael@0 124 <mstyle largeop="false">
michael@0 125 <mo>&#x2211;</mo>
michael@0 126 </mstyle>
michael@0 127 </math></td>
michael@0 128 </tr>
michael@0 129 <!--
michael@0 130 fence: This attribute generally has no direct effect on the visual rendering.
michael@0 131 separator: This attribute generally has no direct effect on the visual rendering.
michael@0 132 -->
michael@0 133 </tbody>
michael@0 134 </table>
michael@0 135 </body>
michael@0 136 </html>

mercurial