summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mstyle-2.xhtml
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/mathml/mstyle-2.xhtml
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/mathml/mstyle-2.xhtml')
-rw-r--r--layout/reftests/mathml/mstyle-2.xhtml147
1 files changed, 147 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mstyle-2.xhtml b/layout/reftests/mathml/mstyle-2.xhtml
new file mode 100644
index 000000000..93611b0f3
--- /dev/null
+++ b/layout/reftests/mathml/mstyle-2.xhtml
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type"
+ content="application/xhtml+xml; charset=us-ascii" />
+ <title>Test mstyle</title>
+ <style type="text/css">
+ table { width: 100%; border-collapse: collapse; }
+ td { border: solid black 1px; }
+ </style>
+</head>
+
+<body>
+
+<!-- The attributes below should no longer have effect on <mstyle>/<math>
+ elements. See bug 838509 -->
+
+<table>
+ <tbody>
+ <tr>
+ <td>mpadded: width</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML" width="1em">
+ <mstyle width="1em">
+ <mtext>_</mtext>
+ <mpadded/>
+ <mtext>_</mtext>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>mpadded: lspace</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML" lspace="1em">
+ <mstyle lspace="1em">
+ <mtext>_</mtext>
+ <mpadded/>
+ <mtext>_</mtext>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>mpadded: height</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML" height="1em">
+ <mstyle height="1em">
+ <msup>
+ <mrow>
+ <mtext>_</mtext>
+ <mpadded/>
+ <mtext>_</mtext>
+ </mrow>
+ <mtext>_</mtext>
+ </msup>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>mpadded: depth</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML" depth="1em">
+ <mstyle depth="1em">
+ <msub>
+ <mrow>
+ <mtext>_</mtext>
+ <mpadded/>
+ <mtext>_</mtext>
+ </mrow>
+ <mtext>_</mtext>
+ </msub>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>mspace: width</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML" width="1em">
+ <mstyle width="1em">
+ <mtext>_</mtext>
+ <mspace/>
+ <mtext>_</mtext>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>mspace: height</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML" height="1em">
+ <mstyle height="1em">
+ <msup>
+ <mrow>
+ <mtext>_</mtext>
+ <mspace/>
+ <mtext>_</mtext>
+ </mrow>
+ <mtext>_</mtext>
+ </msup>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>mspace: depth</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML" depth="1em">
+ <mstyle depth="1em">
+ <msub>
+ <mrow>
+ <mtext>_</mtext>
+ <mspace/>
+ <mtext>_</mtext>
+ </mrow>
+ <mtext>_</mtext>
+ </msub>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>maction: selection</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML" selection="2">
+ <mstyle selection="2">
+ <maction actiontype="toggle">
+ <mn>1</mn>
+ <mn>2</mn>
+ </maction>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>mtable: align</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML" align="baseline">
+ <mstyle align="baseline">
+ <mrow>
+ <mtext>_</mtext>
+ <mtable>
+ <mtr>
+ <mtd>
+ <mtext>&#x2015;</mtext>
+ </mtd>
+ </mtr>
+ <mtr>
+ <mtd>
+ <mtext>&#x2015;</mtext>
+ </mtd>
+ </mtr>
+ </mtable>
+ <mtext>_</mtext>
+ </mrow>
+ </mstyle>
+ </math></td>
+ </tr>
+ </tbody>
+</table>
+</body>
+</html>