summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/mathml/negative-lengths/negative-mspace-1.html
blob: 403a98b409fd48d87eed9ac792a70777e3f1e3df (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
<!DOCTYPE html>
<html>
  <head>
    <title>negative mspace</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link rel="match" href="negative-mspace-1-ref.html"/>
    <link rel="assert" href="Verify that negative width on an mspace element causes overlap of previous and next siblings."/>
    <link rel="help" href="https://github.com/w3c/mathml-core/issues/132"/>
  </head>
  <body>
    <p>
      <math>
	<mrow>
	  <mspace width="2em" height="1em" mathbackground="red"></mspace>
	  <mspace width="-1em"/>
	  <mspace width="1em" height="1em" mathbackground="blue"></mspace>
	</mrow>
      </math>
    </p>
    <p>
      <math dir="rtl">
	<mrow>
	  <mspace width="2em" height="1em" mathbackground="red"></mspace>
	  <mspace width="-1em"/>
	  <mspace width="1em" height="1em" mathbackground="blue"></mspace>
	</mrow>
      </math>
    </p>
  </body>
</html>