summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/overflow-scroll-resize-visibility-hidden-ref.html
blob: 571ba348df4b2dfdd05b31d074496c95c340635d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<style>
.scroller {
  width: 100px;
  height: 100px;
  overflow: scroll;
  /* to make the scroller a white mask over the content */
  filter: brightness(0) invert(1);
  position: relative;
  top: -200px;
}
.content {
  width: 100px;
  height: 100px;
  background: green;
}
</style>
<div class="content"></div>
<div class="content"></div>
<div class="scroller"></div>
<div class="scroller"></div>