summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/local-attachment-content-box-scroll-ref.html
blob: a6fd494660b6f1072d68211862b7bfd14fd345c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!doctype html>
<style>
.container {
  width: 100px;
  height: 100px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid black;
  display: block;
}
.content {
  width: 100%;
  height: 100%;
  background: blue;
}
</style>
<div class="container">
  <div class="content"></div>
</div>
<div class="container" style="padding-top: 20px; padding-left: 20px">
  <div class="content"></div>
</div>
<div class="container" style="padding-right: 20px; padding-bottom: 20px">
  <div class="content"></div>
</div>
<div class="container">
  <div class="content"></div>
</div>