summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/dir-1.html
blob: 2b4ce236c52548a9dddad8e7dd3e17a24383bb11 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
  <head><title>Test dir=rtl</title></head>
  <body>
    <p>
      math:
      <math dir="rtl">
        <mspace width="25px" height="25px" mathbackground="red"/>
        <mspace width="25px" height="25px" mathbackground="green"/>
        <mspace width="25px" height="25px" mathbackground="blue"/>
      </math>
    </p>

    <p>
      mrow:
      <math>
        <mrow dir="rtl">
          <mspace width="25px" height="25px" mathbackground="red"/>
          <mspace width="25px" height="25px" mathbackground="green"/>
          <mspace width="25px" height="25px" mathbackground="blue"/>
        </mrow>
      </math>
    </p>

    <p>
      mstyle:
      <math>
        <mstyle dir="rtl">
          <mspace width="25px" height="25px" mathbackground="red"/>
          <mspace width="25px" height="25px" mathbackground="green"/>
          <mspace width="25px" height="25px" mathbackground="blue"/>
        </mstyle>
      </math>
    </p>

    <p>
      mpadded lspace="25px" width="150px":
      <math dir="rtl">
        <mspace width="1px" height="25px" mathbackground="black"/>
        <mpadded lspace="25px" width="150px">
          <mspace width="25px" height="25px" mathbackground="red"/>
          <mspace width="25px" height="25px" mathbackground="green"/>
          <mspace width="25px" height="25px" mathbackground="blue"/>
        </mpadded>
        <mspace width="1px" height="25px" mathbackground="black"/>
      </math>
    </p>

    <p>
      mfenced open="A" close="D" separators="BC":
      <math dir="rtl">
        <mfenced open="A" close="D" separators="BC">
          <mtext>a</mtext>
          <mtext>b</mtext>
          <mtext>c</mtext>
        </mfenced>
      </math>
    </p>

  </body>
</html>