summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/html5-tree/display-2-ref.html
blob: 7864c0409914de319866ff86b19c8e423672fa69 (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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>display attribute VS legacy mode attribute (reference)</title>
</head>
<body>
  <p>Test passes if you see four green squares, the last one
    centered and the others left-aligned.</p>
  <p>
    <math>
      <mspace width="100px" height="100px" style="background: green"></mspace>
    </math>
  </p>
  <p>
    <math>
      <mspace width="100px" height="100px" style="background: green"></mspace>
    </math>
  </p>
  <p>
    <math display="inline">
      <mspace width="100px" height="100px" style="background: green"></mspace>
    </math>
  </p>
  <p>
    <math display="block">
      <mspace width="100px" height="100px" style="background: green"></mspace>
    </math>
  </p>
</body>
</html>