summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/clip-path/clip-path-on-fixed-position-scroll-ref.html
blob: a4f7dc5479f1b29e5bbf52e2009533d88dd7ba1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<style>
.ref {
  height: 100px;
  width: 100px;
  background: green;
}
</style>
<div style="height: 800px"></div>
<div class="ref"></div>
<script>
onload = () => {
  window.scrollTo(0, 800);
};
</script>