summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/scripts/mmultiscript-003.html
blob: 7de3e98b8ab8a06ef5e66f52bb2fb4bcbce99da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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>