summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/mathml/presentation-markup/scripts')
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-001-ref.html15
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-001.html17
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-002-ref.html16
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-002.html18
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-003-ref.html42
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-003.html42
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-false-ref.html70
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-false.html57
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-true-ref.html70
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-true.html57
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-false-ref.html85
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-false.html60
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-true-ref.html85
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-true.html60
14 files changed, 694 insertions, 0 deletions
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-001-ref.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-001-ref.html
new file mode 100644
index 0000000000..d814944f53
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-001-ref.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>mmultiscript with no scripts (reference)</title>
+ </head>
+ <body>
+ <math>
+ <mmultiscripts>
+ <mtext>base</mtext>
+ <none/>
+ <none/>
+ </mmultiscripts>
+ </math>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-001.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-001.html
new file mode 100644
index 0000000000..e55a04e128
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-001.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>mmultiscript with no scripts</title>
+ <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=208309">
+ <link rel="help" href="https://w3c.github.io/mathml-core/#base-with-prescripts-and-postscripts">
+ <link rel="match" href="mmultiscript-001-ref.html">
+ <meta name="assert" content="mmultiscript with no scripts renders the same as if it had two none post-scripts">
+ </head>
+ <body>
+ <math>
+ <mmultiscripts>
+ <mtext>base</mtext>
+ </mmultiscripts>
+ </math>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-002-ref.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-002-ref.html
new file mode 100644
index 0000000000..33f12d7cdf
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-002-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>mmultiscript with mprescripts (reference)</title>
+ </head>
+ <body>
+ <math>
+ <mmultiscripts>
+ <mtext>base</mtext>
+ <none/>
+ <none/>
+ <mprescripts/>
+ </mmultiscripts>
+ </math>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-002.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-002.html
new file mode 100644
index 0000000000..c5e426008f
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-002.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>mmultiscript with mprescripts</title>
+ <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=208309">
+ <link rel="help" href="https://w3c.github.io/mathml-core/#base-with-prescripts-and-postscripts">
+ <link rel="match" href="mmultiscript-002-ref.html">
+ <meta name="assert" content="mmultiscript with no scripts and a mprescripts child renders the same as if it had two none pre-scripts">
+ </head>
+ <body>
+ <math>
+ <mmultiscripts>
+ <mtext>base</mtext>
+ <mprescripts/>
+ </mmultiscripts>
+ </math>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-003-ref.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-003-ref.html
new file mode 100644
index 0000000000..daac6b3346
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-003-ref.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>alignment of mmultiscript sub/superscripts</title>
+ </head>
+ <body>
+ <math>
+ <mmultiscripts>
+ <mspace width="50px" height="50px" mathbackground="red"/>
+ <mrow>
+ <mspace width="50px" height="10px" mathbackground="blue"/>
+ <mspace width="50px" height="10px"/>
+ </mrow>
+ <mspace width="100px" height="10px" mathbackground="green"/>
+ <mprescripts/>
+ <mrow>
+ <mspace width="50px" height="10px"/>
+ <mspace width="50px" height="10px" mathbackground="blue"/>
+ </mrow>
+ <mspace width="100px" height="10px" mathbackground="green"/>
+ </mmultiscripts>
+ </math>
+ <br/>
+ <br/>
+ <math>
+ <mmultiscripts>
+ <mspace width="50px" height="50px" mathbackground="red"/>
+ <mspace width="100px" height="10px" mathbackground="green"/>
+ <mrow>
+ <mspace width="50px" height="10px" mathbackground="blue"/>
+ <mspace width="50px" height="10px"/>
+ </mrow>
+ <mprescripts/>
+ <mspace width="100px" height="10px" mathbackground="green"/>
+ <mrow>
+ <mspace width="50px" height="10px"/>
+ <mspace width="50px" height="10px" mathbackground="blue"/>
+ </mrow>
+ </mmultiscripts>
+ </math>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-003.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-003.html
new file mode 100644
index 0000000000..7de3e98b8a
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-003.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>alignment of mmultiscript sub/superscripts</title>
+ <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=928675">
+ <link rel="help" href="https://w3c.github.io/mathml-core/#base-with-prescripts-and-postscripts">
+ <link rel="match" href="mmultiscript-003-ref.html">
+ <meta name="assert" content="In LTR mode, pre-scripts are right-aligned and post-scripts are left-aligned.">
+ </head>
+ <body>
+ <math>
+ <mmultiscripts>
+ <mspace width="50px" height="50px" mathbackground="red"/>
+ <mrow>
+ <mspace width="50px" height="10px" mathbackground="blue"/>
+ </mrow>
+ <mspace width="100px" height="10px" mathbackground="green"/>
+ <mprescripts/>
+ <mrow>
+ <mspace width="50px" height="10px" mathbackground="blue"/>
+ </mrow>
+ <mspace width="100px" height="10px" mathbackground="green"/>
+ </mmultiscripts>
+ </math>
+ <br/>
+ <br/>
+ <math>
+ <mmultiscripts>
+ <mspace width="50px" height="50px" mathbackground="red"/>
+ <mspace width="100px" height="10px" mathbackground="green"/>
+ <mrow>
+ <mspace width="50px" height="10px" mathbackground="blue"/>
+ </mrow>
+ <mprescripts/>
+ <mspace width="100px" height="10px" mathbackground="green"/>
+ <mrow>
+ <mspace width="50px" height="10px" mathbackground="blue"/>
+ </mrow>
+ </mmultiscripts>
+ </math>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-false-ref.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-false-ref.html
new file mode 100644
index 0000000000..db72d0c5e2
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-false-ref.html
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Horizontal alignment of base with munder/mover scripts (accent="false")</title>
+ </head>
+ <body>
+ <table border="1">
+ <tr>
+ <th colspan="2">mover</th>
+ <th colspan="2">munder</th>
+ </tr>
+ <tr>
+ <td align="center">Over &lt; Base</td>
+ <td align="center">Over &gt; Base</td>
+ <td align="center">Under &lt; Base</td>
+ <td align="center">Under &gt; Base</td>
+ </tr>
+ <tr>
+ <td align="center">
+ <math>
+ <mover>
+ <mspace height="15px" width="75px" mathbackground="blue"/>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ </mover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <mover>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="blue"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </mover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munder>
+ <mspace height="15px" width="75px" mathbackground="blue"/>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ </munder>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munder>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="blue"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </munder>
+ </math>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-false.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-false.html
new file mode 100644
index 0000000000..0d4205410a
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-false.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Horizontal alignment of base with munder/mover scripts (accent="false")</title>
+ <link rel="help" href="https://w3c.github.io/mathml-core/#underscripts-and-overscripts-munder-mover-munderover">
+ <link rel="match" href="munder-mover-align-accent-false-ref.html">
+ <meta name="assert" content="base, underscript and overscript should be horizontally aligned.">
+ </head>
+ <body>
+ <table border="1">
+ <tr>
+ <th colspan="2">mover</th>
+ <th colspan="2">munder</th>
+ </tr>
+ <tr>
+ <td align="center">Over &lt; Base</td>
+ <td align="center">Over &gt; Base</td>
+ <td align="center">Under &lt; Base</td>
+ <td align="center">Under &gt; Base</td>
+ </tr>
+ <tr>
+ <td align="center">
+ <math>
+ <mover>
+ <mspace height="15px" width="75px" mathbackground="blue"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ </mover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <mover>
+ <mspace height="15px" width="25px" mathbackground="blue"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </mover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munder>
+ <mspace height="15px" width="75px" mathbackground="blue"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ </munder>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munder>
+ <mspace height="15px" width="25px" mathbackground="blue"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </munder>
+ </math>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-true-ref.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-true-ref.html
new file mode 100644
index 0000000000..da1033563e
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-true-ref.html
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Horizontal alignment of base with munder/mover scripts (accent="true")</title>
+ </head>
+ <body>
+ <table border="1">
+ <tr>
+ <th colspan="2">mover</th>
+ <th colspan="2">munder</th>
+ </tr>
+ <tr>
+ <td align="center">Over &lt; Base</td>
+ <td align="center">Over &gt; Base</td>
+ <td align="center">Under &lt; Base</td>
+ <td align="center">Under &gt; Base</td>
+ </tr>
+ <tr>
+ <td align="center">
+ <math>
+ <mover accent="true">
+ <mspace height="15px" width="75px" mathbackground="blue"/>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ </mover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <mover accent="true">
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="blue"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </mover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munder accentunder="true">
+ <mspace height="15px" width="75px" mathbackground="blue"/>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ </munder>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munder accentunder="true">
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="blue"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </munder>
+ </math>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-true.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-true.html
new file mode 100644
index 0000000000..aa70d244f3
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/munder-mover-align-accent-true.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Horizontal alignment of base with munder/mover scripts (accent="true")</title>
+ <link rel="help" href="https://w3c.github.io/mathml-core/#underscripts-and-overscripts-munder-mover-munderover">
+ <link rel="match" href="munder-mover-align-accent-true-ref.html">
+ <meta name="assert" content="base, underscript and overscript should be horizontally aligned.">
+ </head>
+ <body>
+ <table border="1">
+ <tr>
+ <th colspan="2">mover</th>
+ <th colspan="2">munder</th>
+ </tr>
+ <tr>
+ <td align="center">Over &lt; Base</td>
+ <td align="center">Over &gt; Base</td>
+ <td align="center">Under &lt; Base</td>
+ <td align="center">Under &gt; Base</td>
+ </tr>
+ <tr>
+ <td align="center">
+ <math>
+ <mover accent="true">
+ <mspace height="15px" width="75px" mathbackground="blue"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ </mover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <mover accent="true">
+ <mspace height="15px" width="25px" mathbackground="blue"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </mover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munder accentunder="true">
+ <mspace height="15px" width="75px" mathbackground="blue"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ </munder>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munder accentunder="true">
+ <mspace height="15px" width="25px" mathbackground="blue"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </munder>
+ </math>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-false-ref.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-false-ref.html
new file mode 100644
index 0000000000..c339149c25
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-false-ref.html
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Horizontal alignment of base with munder/mover scripts (accent="false")</title>
+ </head>
+ <body>
+ <table border="1">
+ <tr>
+ <th colspan="6">munderover</th>
+ </tr>
+ <tr>
+ <td align="center">Over &lt; Base &lt; Under</td>
+ <td align="center">Over &gt; Base &gt; Under</td>
+ <td align="center">Over = Under &lt; Base</td>
+ <td align="center">Over = Under &gt; Base</td>
+ </tr>
+ <tr>
+ <td align="center">
+ <math>
+ <munderover accent="false" accentunder="false">
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="50px" mathbackground="blue"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ </munderover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munderover accent="false" accentunder="false">
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="50px" mathbackground="blue"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </munderover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munderover accent="false" accentunder="false">
+ <mspace height="15px" width="75px" mathbackground="blue"/>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ </munderover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munderover accent="false" accentunder="false">
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="blue"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </munderover>
+ </math>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-false.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-false.html
new file mode 100644
index 0000000000..2c082612a2
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-false.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Horizontal alignment of base with munder/mover scripts (accent="false")</title>
+ <link rel="help" href="https://w3c.github.io/mathml-core/#underscripts-and-overscripts-munder-mover-munderover">
+ <link rel="match" href="munderover-align-accent-false-ref.html">
+ <meta name="assert" content="base, underscript and overscript should be horizontally aligned.">
+ </head>
+ <body>
+ <table border="1">
+ <tr>
+ <th colspan="4">munderover</th>
+ </tr>
+ <tr>
+ <td align="center">Over &lt; Base &lt; Under</td>
+ <td align="center">Over &gt; Base &gt; Under</td>
+ <td align="center">Over = Under &lt; Base</td>
+ <td align="center">Over = Under &gt; Base</td>
+ </tr>
+ <tr>
+ <td align="center">
+ <math>
+ <munderover>
+ <mspace height="15px" width="50px" mathbackground="blue"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ </munderover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munderover>
+ <mspace height="15px" width="50px" mathbackground="blue"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </munderover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munderover>
+ <mspace height="15px" width="75px" mathbackground="blue"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ </munderover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munderover>
+ <mspace height="15px" width="25px" mathbackground="blue"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </munderover>
+ </math>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-true-ref.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-true-ref.html
new file mode 100644
index 0000000000..aababcb17b
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-true-ref.html
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Horizontal alignment of base with munder/mover scripts (accent="true")</title>
+ </head>
+ <body>
+ <table border="1">
+ <tr>
+ <th colspan="6">munderover</th>
+ </tr>
+ <tr>
+ <td align="center">Over &lt; Base &lt; Under</td>
+ <td align="center">Over &gt; Base &gt; Under</td>
+ <td align="center">Over = Under &lt; Base</td>
+ <td align="center">Over = Under &gt; Base</td>
+ </tr>
+ <tr>
+ <td align="center">
+ <math>
+ <munderover accent="true" accentunder="true">
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="50px" mathbackground="blue"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ </munderover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munderover accent="true" accentunder="true">
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="50px" mathbackground="blue"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </munderover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munderover accent="true" accentunder="true">
+ <mspace height="15px" width="75px" mathbackground="blue"/>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ </munderover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munderover accent="true" accentunder="true">
+ <mrow>
+ <mspace height="15px" width="25px"/>
+ <mspace height="15px" width="25px" mathbackground="blue"/>
+ <mspace height="15px" width="25px"/>
+ </mrow>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </munderover>
+ </math>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-true.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-true.html
new file mode 100644
index 0000000000..e6578ade52
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-true.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Horizontal alignment of base with munder/mover scripts (accent="true")</title>
+ <link rel="help" href="https://w3c.github.io/mathml-core/#underscripts-and-overscripts-munder-mover-munderover">
+ <link rel="match" href="munderover-align-accent-true-ref.html">
+ <meta name="assert" content="base, underscript and overscript should be horizontally aligned.">
+ </head>
+ <body>
+ <table border="1">
+ <tr>
+ <th colspan="4">munderover</th>
+ </tr>
+ <tr>
+ <td align="center">Over &lt; Base &lt; Under</td>
+ <td align="center">Over &gt; Base &gt; Under</td>
+ <td align="center">Over = Under &lt; Base</td>
+ <td align="center">Over = Under &gt; Base</td>
+ </tr>
+ <tr>
+ <td align="center">
+ <math>
+ <munderover accent="true" accentunder="true">
+ <mspace height="15px" width="50px" mathbackground="blue"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ </munderover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munderover accent="true" accentunder="true">
+ <mspace height="15px" width="50px" mathbackground="blue"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </munderover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munderover accent="true" accentunder="true">
+ <mspace height="15px" width="75px" mathbackground="blue"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ <mspace height="15px" width="25px" mathbackground="red"/>
+ </munderover>
+ </math>
+ </td>
+ <td align="center">
+ <math>
+ <munderover accent="true" accentunder="true">
+ <mspace height="15px" width="25px" mathbackground="blue"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ <mspace height="15px" width="75px" mathbackground="red"/>
+ </munderover>
+ </math>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>