Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
            - /mathml/negative-lengths/negative-mspace-1.html - WPT Dashboard Interop Dashboard
 
<!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."/>
  </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>