summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/background-attachment-fixed-ref.html
blob: 344c9d31643350f6e816804a3ad9cf30aad27a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<style>
.blue {
  position: absolute;
  top: 0;
  width: 40px;
  height: 100px;
  background: blue;
}
.green {
  position: absolute;
  top: 100px;
  width: 40px;
  height: 100px;
  background: green;
}
</style>
<div class="blue" style="left: 30px; top: 30px; height: 70px"></div>
<div class="green" style="left: 30px"></div>
<div class="blue" style="left: 140px"></div>
<div class="green" style="left: 140px"></div>
<div class="blue" style="left: 250px"></div>
<div class="green" style="left: 250px; height: 70px"></div>