summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-003.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-003.html')
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-003.html42
1 files changed, 42 insertions, 0 deletions
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>