summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/mathml/negative-lengths/mpadded-negative-attributes-002.html
blob: b2de08e81172a08432ec06be629bf39a7f213adb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
  <head>
    <title>Test mpadded</title>
    <meta name="assert" content="Verify negative mpadded@width/height/depth.">
    <link rel="match" href="mpadded-negative-attributes-002-ref.html">
  </head>
  <body>
    <math>
      <!--if height, depth or width is a negative value, 0px is the value applied -->
      <mpadded mathbackground="blue" width="100px" height="100px" depth="-100px"
               lspace="20px" voffset="10px">
        <mpadded mathbackground="red" width="20px" height="10px"
                 depth="10px">
        </mpadded>
      </mpadded>
    </math>
  </body>
</html>