summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mstyle-1-ref.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/mathml/mstyle-1-ref.xhtml123
1 files changed, 123 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mstyle-1-ref.xhtml b/layout/reftests/mathml/mstyle-1-ref.xhtml
new file mode 100644
index 0000000000..c8fdc36df8
--- /dev/null
+++ b/layout/reftests/mathml/mstyle-1-ref.xhtml
@@ -0,0 +1,123 @@
+<?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>
+
+<table>
+ <tbody>
+ <tr>
+ <td>mfenced: open, close, separators </td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mstyle>
+ <mfenced>
+ <mn>1</mn>
+ <mn>2</mn>
+ </mfenced>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>menclose: notation</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mstyle>
+ <menclose>
+ <mtext>menclose</mtext>
+ </menclose>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>mfrac: bevelled, linethickness</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mstyle>
+ <mfrac>
+ <mi>a</mi>
+ <mi>b</mi>
+ </mfrac>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>mfrac: numalign</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mstyle>
+ <mfrac>
+ <mn>1</mn>
+ <mn>234</mn>
+ </mfrac>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>mfrac: denomalign</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mstyle>
+ <mfrac>
+ <mn>123</mn>
+ <mn>4</mn>
+ </mfrac>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>mmultiscripts: subscriptshift, superscriptshift </td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mstyle>
+ <mmultiscripts>
+ <mi>a</mi>
+ <mi>b</mi>
+ <mi>c</mi>
+ <mprescripts/>
+ <mi>e</mi>
+ <mi>f</mi>
+ </mmultiscripts>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>msubsup: subscriptshift, superscriptshift</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mstyle>
+ <msubsup>
+ <mi>a</mi>
+ <mi>b</mi>
+ <mi>c</mi>
+ </msubsup>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>msub: subscriptshift</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mstyle>
+ <msub>
+ <mi>a</mi>
+ <mi>b</mi>
+ </msub>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>msup: superscriptshift</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mstyle>
+ <msup>
+ <mi>a</mi>
+ <mi>b</mi>
+ </msup>
+ </mstyle>
+ </math></td>
+ </tr>
+ </tbody>
+</table>
+</body>
+</html>