summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/scrollbar-gutter-abspos-001-ref.html
blob: 29a2a9961527020629b144c190f9eaa879937926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<title>CSS Overflow Reference: scrollbar-gutter is accounted for in abspos sizing</title>
<style>
.container {
  scrollbar-gutter: stable;
  overflow-y: auto;
  width: 100px;
  height: 200px;
  position: relative;
}
.child {
  width: 100%;
  height: 100px;
  background: green;
}
</style>
<div class="container">
  <div class="child"></div>
</div>