summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/padding-border-margin/padding-border-margin-003-ref.html
blob: 275494ddd8c5cf0ae39b7402242aedc9b000a6b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Padding/border/margin on an operator, stretchy along the block axis (reference)</title>
<body>
  <p>This test passes if you see a cyan rectangle of width 300px and
    height 1500px, surrounded by a 10px blue padding, surrounded by a 10px
    blue/yellow dashed border, itself
    surrounded by a 10px pink margin.</p>
  </div>
    <div style="background: pink; position: absolute; left: 10px; top: 4em;">
      <div style="background: blue; border: 10px dashed yellow; padding: 10px; margin: 10px;">
        <div style="width: 300px; height: 1500px; background: cyan;"></div>
      </div>
    </div>
</body>
</html>