layout/reftests/mathml/mstyle-2.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 should no longer have effect on <mstyle>/<math>
michael@0 16 elements. See bug 838509 -->
michael@0 17
michael@0 18 <table>
michael@0 19 <tbody>
michael@0 20 <tr>
michael@0 21 <td>mpadded: width</td>
michael@0 22 <td><math xmlns="http://www.w3.org/1998/Math/MathML" width="1em">
michael@0 23 <mstyle width="1em">
michael@0 24 <mtext>_</mtext>
michael@0 25 <mpadded/>
michael@0 26 <mtext>_</mtext>
michael@0 27 </mstyle>
michael@0 28 </math></td>
michael@0 29 </tr>
michael@0 30 <tr>
michael@0 31 <td>mpadded: lspace</td>
michael@0 32 <td><math xmlns="http://www.w3.org/1998/Math/MathML" lspace="1em">
michael@0 33 <mstyle lspace="1em">
michael@0 34 <mtext>_</mtext>
michael@0 35 <mpadded/>
michael@0 36 <mtext>_</mtext>
michael@0 37 </mstyle>
michael@0 38 </math></td>
michael@0 39 </tr>
michael@0 40 <tr>
michael@0 41 <td>mpadded: height</td>
michael@0 42 <td><math xmlns="http://www.w3.org/1998/Math/MathML" height="1em">
michael@0 43 <mstyle height="1em">
michael@0 44 <msup>
michael@0 45 <mrow>
michael@0 46 <mtext>_</mtext>
michael@0 47 <mpadded/>
michael@0 48 <mtext>_</mtext>
michael@0 49 </mrow>
michael@0 50 <mtext>_</mtext>
michael@0 51 </msup>
michael@0 52 </mstyle>
michael@0 53 </math></td>
michael@0 54 </tr>
michael@0 55 <tr>
michael@0 56 <td>mpadded: depth</td>
michael@0 57 <td><math xmlns="http://www.w3.org/1998/Math/MathML" depth="1em">
michael@0 58 <mstyle depth="1em">
michael@0 59 <msub>
michael@0 60 <mrow>
michael@0 61 <mtext>_</mtext>
michael@0 62 <mpadded/>
michael@0 63 <mtext>_</mtext>
michael@0 64 </mrow>
michael@0 65 <mtext>_</mtext>
michael@0 66 </msub>
michael@0 67 </mstyle>
michael@0 68 </math></td>
michael@0 69 </tr>
michael@0 70 <tr>
michael@0 71 <td>mspace: width</td>
michael@0 72 <td><math xmlns="http://www.w3.org/1998/Math/MathML" width="1em">
michael@0 73 <mstyle width="1em">
michael@0 74 <mtext>_</mtext>
michael@0 75 <mspace/>
michael@0 76 <mtext>_</mtext>
michael@0 77 </mstyle>
michael@0 78 </math></td>
michael@0 79 </tr>
michael@0 80 <tr>
michael@0 81 <td>mspace: height</td>
michael@0 82 <td><math xmlns="http://www.w3.org/1998/Math/MathML" height="1em">
michael@0 83 <mstyle height="1em">
michael@0 84 <msup>
michael@0 85 <mrow>
michael@0 86 <mtext>_</mtext>
michael@0 87 <mspace/>
michael@0 88 <mtext>_</mtext>
michael@0 89 </mrow>
michael@0 90 <mtext>_</mtext>
michael@0 91 </msup>
michael@0 92 </mstyle>
michael@0 93 </math></td>
michael@0 94 </tr>
michael@0 95 <tr>
michael@0 96 <td>mspace: depth</td>
michael@0 97 <td><math xmlns="http://www.w3.org/1998/Math/MathML" depth="1em">
michael@0 98 <mstyle depth="1em">
michael@0 99 <msub>
michael@0 100 <mrow>
michael@0 101 <mtext>_</mtext>
michael@0 102 <mspace/>
michael@0 103 <mtext>_</mtext>
michael@0 104 </mrow>
michael@0 105 <mtext>_</mtext>
michael@0 106 </msub>
michael@0 107 </mstyle>
michael@0 108 </math></td>
michael@0 109 </tr>
michael@0 110 <tr>
michael@0 111 <td>maction: selection</td>
michael@0 112 <td><math xmlns="http://www.w3.org/1998/Math/MathML" selection="2">
michael@0 113 <mstyle selection="2">
michael@0 114 <maction actiontype="toggle">
michael@0 115 <mn>1</mn>
michael@0 116 <mn>2</mn>
michael@0 117 </maction>
michael@0 118 </mstyle>
michael@0 119 </math></td>
michael@0 120 </tr>
michael@0 121 <tr>
michael@0 122 <td>mtable: align</td>
michael@0 123 <td><math xmlns="http://www.w3.org/1998/Math/MathML" align="baseline">
michael@0 124 <mstyle align="baseline">
michael@0 125 <mrow>
michael@0 126 <mtext>_</mtext>
michael@0 127 <mtable>
michael@0 128 <mtr>
michael@0 129 <mtd>
michael@0 130 <mtext>&#x2015;</mtext>
michael@0 131 </mtd>
michael@0 132 </mtr>
michael@0 133 <mtr>
michael@0 134 <mtd>
michael@0 135 <mtext>&#x2015;</mtext>
michael@0 136 </mtd>
michael@0 137 </mtr>
michael@0 138 </mtable>
michael@0 139 <mtext>_</mtext>
michael@0 140 </mrow>
michael@0 141 </mstyle>
michael@0 142 </math></td>
michael@0 143 </tr>
michael@0 144 </tbody>
michael@0 145 </table>
michael@0 146 </body>
michael@0 147 </html>

mercurial