summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/positioning/abspos-negative-margin-001-ref.html
blob: e6f9bd6f9ad302edca80f34b70ebfcaf1d22e68c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<style>
div {
  font-size: 10px;
  line-height: 1;
}
.blue {
  display: inline-block;
  vertical-align: bottom;
  width: 10px;
  height: 10px;
  background: blue;
}
</style>
<body>
  <div>x<span class="blue"></span></div>
  <div>x<br><span class="blue"></span></div>
</body>