summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mstyle-4.xhtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/mathml/mstyle-4.xhtml
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/mathml/mstyle-4.xhtml')
-rw-r--r--layout/reftests/mathml/mstyle-4.xhtml78
1 files changed, 78 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mstyle-4.xhtml b/layout/reftests/mathml/mstyle-4.xhtml
new file mode 100644
index 0000000000..e934977557
--- /dev/null
+++ b/layout/reftests/mathml/mstyle-4.xhtml
@@ -0,0 +1,78 @@
+<?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>mover: accent</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML" accent="false">
+ <mstyle accent="false">
+ <mover>
+ <!-- We assume &#x23de; is accent in the operator dictionary -->
+ <mrow>
+ <mi>x</mi>
+ <mo>+</mo>
+ <mi>y</mi>
+ <mo>+</mo>
+ <mi>z</mi>
+ </mrow>
+ <mo>&#x23de;</mo>
+ </mover>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>munder: accentunder</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML" accentunder="false">
+ <mstyle accentunder="false">
+ <munder>
+ <!-- We assume &#x23df; is accent in the operator dictionary -->
+ <mrow>
+ <mi>x</mi>
+ <mo>+</mo>
+ <mi>y</mi>
+ <mo>+</mo>
+ <mi>z</mi>
+ </mrow>
+ <mo>&#x23df;</mo>
+ </munder>
+ </mstyle>
+ </math></td>
+ </tr>
+ <tr>
+ <td>munderover: accent, accentunder</td>
+ <td><math xmlns="http://www.w3.org/1998/Math/MathML" accent="false" accentunder="false">
+ <mstyle accent="false" accentunder="false">
+ <munderover>
+ <!-- We assume &#x23de; and &#x23df; are accents in the operator dictionary -->
+ <mrow>
+ <mi>x</mi>
+ <mo>+</mo>
+ <mi>y</mi>
+ <mo>+</mo>
+ <mi>z</mi>
+ </mrow>
+ <mo>&#x23df;</mo>
+ <mo>&#x23de;</mo>
+ </munderover>
+ </mstyle>
+ </math></td>
+ </tr>
+ </tbody>
+</table>
+</body>
+</html>