summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/normal-flow/canvas-paint-order-ref.html
blob: 3baa038968ebd454c7497cfbb383caf1e00f23f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<style>
  #canvas {
    width: 95px;
    height: 95px;
  }
  #negative-margin {
    display: inline-block;
    width: 100px;
    height: 100px;
    background: green;
    margin-left: -100px;
  }
</style>
<canvas id="canvas"></canvas>
<div id="negative-margin"></div>