summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/quirks/body-fills-html-quirk-float.html
blob: c1fdd16ac0bb1303a9b89de045f99d43946db8d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE quirks-mode>
<link rel="help" href="https://quirks.spec.whatwg.org/#the-body-element-fills-the-html-element-quirk">
<link rel="match" href="body-fills-html-quirk-ref.html">
<style>
body {
  border: solid;
  margin: 10px 11px 12px 14px;
  float: left;
}
span {
  display: inline-block;
  width: 100px;
  height: 100px;
  background: green;
}
</style>
<body>
  <span></span>
</body>