summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scrollbars/scrollbar-width-paint-004.html
blob: 6f5b4d300cefad7845be8382fc82f222888f5360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html>
<html class="reftest-wait">
<meta charset="utf-8">
<title>CSS Scrollbars: scrollbar-width on viewport none -> thin</title>
<link rel="author" title="Luke Warlow" href="mailto:luke@warlow.dev">
<link rel="match" href="scrollbar-width-paint-004-ref.html">
<link rel="mismatch" href="scrollbar-width-paint-004-mis-ref.html">
<link rel="help" href="https://www.w3.org/TR/css-scrollbars-1/">
<script src="/common/reftest-wait.js"></script>
<style>
  :root {
    overflow: scroll;
    scrollbar-width: none;
  }
</style>
<script>
  requestAnimationFrame(() => requestAnimationFrame(() => {
    document.documentElement.style.scrollbarWidth = 'thin';
    takeScreenshot();
  }));
</script>