layout/reftests/mathml/mstyle-4.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 <!-- 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>mover: accent</td>
michael@0 22 <td><math xmlns="http://www.w3.org/1998/Math/MathML" accent="false">
michael@0 23 <mstyle accent="false">
michael@0 24 <mover>
michael@0 25 <!-- We assume &#x23de; is accent in the operator dictionary -->
michael@0 26 <mrow>
michael@0 27 <mi>x</mi>
michael@0 28 <mo>+</mo>
michael@0 29 <mi>y</mi>
michael@0 30 <mo>+</mo>
michael@0 31 <mi>z</mi>
michael@0 32 </mrow>
michael@0 33 <mo>&#x23de;</mo>
michael@0 34 </mover>
michael@0 35 </mstyle>
michael@0 36 </math></td>
michael@0 37 </tr>
michael@0 38 <tr>
michael@0 39 <td>munder: accentunder</td>
michael@0 40 <td><math xmlns="http://www.w3.org/1998/Math/MathML" accentunder="false">
michael@0 41 <mstyle accentunder="false">
michael@0 42 <munder>
michael@0 43 <!-- We assume &#x23df; is accent in the operator dictionary -->
michael@0 44 <mrow>
michael@0 45 <mi>x</mi>
michael@0 46 <mo>+</mo>
michael@0 47 <mi>y</mi>
michael@0 48 <mo>+</mo>
michael@0 49 <mi>z</mi>
michael@0 50 </mrow>
michael@0 51 <mo>&#x23df;</mo>
michael@0 52 </munder>
michael@0 53 </mstyle>
michael@0 54 </math></td>
michael@0 55 </tr>
michael@0 56 <tr>
michael@0 57 <td>munderover: accent, accentunder</td>
michael@0 58 <td><math xmlns="http://www.w3.org/1998/Math/MathML" accent="false" accentunder="false">
michael@0 59 <mstyle accent="false" accentunder="false">
michael@0 60 <munderover>
michael@0 61 <!-- We assume &#x23de; and &#x23df; are accents in the operator dictionary -->
michael@0 62 <mrow>
michael@0 63 <mi>x</mi>
michael@0 64 <mo>+</mo>
michael@0 65 <mi>y</mi>
michael@0 66 <mo>+</mo>
michael@0 67 <mi>z</mi>
michael@0 68 </mrow>
michael@0 69 <mo>&#x23df;</mo>
michael@0 70 <mo>&#x23de;</mo>
michael@0 71 </munderover>
michael@0 72 </mstyle>
michael@0 73 </math></td>
michael@0 74 </tr>
michael@0 75 </tbody>
michael@0 76 </table>
michael@0 77 </body>
michael@0 78 </html>

mercurial