layout/reftests/mathml/mstyle-1.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.

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 <table>
michael@0 16 <tbody>
michael@0 17 <tr>
michael@0 18 <td>mfenced: open, close, separators </td>
michael@0 19 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
michael@0 20 <mstyle open="[" close="]" separators=";">
michael@0 21 <mfenced>
michael@0 22 <mn>1</mn>
michael@0 23 <mn>2</mn>
michael@0 24 </mfenced>
michael@0 25 </mstyle>
michael@0 26 </math></td>
michael@0 27 </tr>
michael@0 28 <tr>
michael@0 29 <td>menclose: notation</td>
michael@0 30 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
michael@0 31 <mstyle notation="box">
michael@0 32 <menclose>
michael@0 33 <mtext>menclose</mtext>
michael@0 34 </menclose>
michael@0 35 </mstyle>
michael@0 36 </math></td>
michael@0 37 </tr>
michael@0 38 <tr>
michael@0 39 <td>mfrac: bevelled, linethickness</td>
michael@0 40 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
michael@0 41 <mstyle bevelled="true" linethickness="thick">
michael@0 42 <mfrac>
michael@0 43 <mi>a</mi>
michael@0 44 <mi>b</mi>
michael@0 45 </mfrac>
michael@0 46 </mstyle>
michael@0 47 </math></td>
michael@0 48 </tr>
michael@0 49 <tr>
michael@0 50 <td>mfrac: numalign</td>
michael@0 51 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
michael@0 52 <mstyle numalign="right">
michael@0 53 <mfrac>
michael@0 54 <mn>1</mn>
michael@0 55 <mn>234</mn>
michael@0 56 </mfrac>
michael@0 57 </mstyle>
michael@0 58 </math></td>
michael@0 59 </tr>
michael@0 60 <tr>
michael@0 61 <td>mfrac: denomalign</td>
michael@0 62 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
michael@0 63 <mstyle denomalign="right">
michael@0 64 <mfrac>
michael@0 65 <mn>123</mn>
michael@0 66 <mn>4</mn>
michael@0 67 </mfrac>
michael@0 68 </mstyle>
michael@0 69 </math></td>
michael@0 70 </tr>
michael@0 71 <tr>
michael@0 72 <td>mmultiscripts: subscriptshift, superscriptshift </td>
michael@0 73 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
michael@0 74 <mstyle subscriptshift="1em" superscriptshift="1em">
michael@0 75 <mmultiscripts>
michael@0 76 <mi>a</mi>
michael@0 77 <mi>b</mi>
michael@0 78 <mi>c</mi>
michael@0 79 <mprescripts/>
michael@0 80 <mi>e</mi>
michael@0 81 <mi>f</mi>
michael@0 82 </mmultiscripts>
michael@0 83 </mstyle>
michael@0 84 </math></td>
michael@0 85 </tr>
michael@0 86 <tr>
michael@0 87 <td>msubsup: subscriptshift, superscriptshift</td>
michael@0 88 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
michael@0 89 <mstyle subscriptshift="1em" superscriptshift="1em">
michael@0 90 <msubsup>
michael@0 91 <mi>a</mi>
michael@0 92 <mi>b</mi>
michael@0 93 <mi>c</mi>
michael@0 94 </msubsup>
michael@0 95 </mstyle>
michael@0 96 </math></td>
michael@0 97 </tr>
michael@0 98 <tr>
michael@0 99 <td>msub: subscriptshift</td>
michael@0 100 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
michael@0 101 <mstyle subscriptshift="1em">
michael@0 102 <msub>
michael@0 103 <mi>a</mi>
michael@0 104 <mi>b</mi>
michael@0 105 </msub>
michael@0 106 </mstyle>
michael@0 107 </math></td>
michael@0 108 </tr>
michael@0 109 <tr>
michael@0 110 <td>msup: superscriptshift</td>
michael@0 111 <td><math xmlns="http://www.w3.org/1998/Math/MathML">
michael@0 112 <mstyle superscriptshift="1em">
michael@0 113 <msup>
michael@0 114 <mi>a</mi>
michael@0 115 <mi>b</mi>
michael@0 116 </msup>
michael@0 117 </mstyle>
michael@0 118 </math></td>
michael@0 119 </tr>
michael@0 120 </tbody>
michael@0 121 </table>
michael@0 122 </body>
michael@0 123 </html>

mercurial