summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scrollbars/scrollbar-color-009.html
blob: 6b17c19c15c056d1d884632fe6c715b46654b772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<html>
<title>CSS Scrollbars: scrollbar-color on root correctly interacts with ::-webkit-scrollbar-corner</title>
<link rel="author" title="Luke Warlow" href="mailto:luke@warlow.dev" />
<link rel="match" href="scrollbar-color-009-ref.html" />
<link rel="mismatch" href="scrollbar-color-009-mis-ref.html" />
<link rel="help" href="https://drafts.csswg.org/css-scrollbars-1/#color-compat" />
<style>
  :root {
    scrollbar-color: yellow blue;
  }

  body {
    overflow: scroll;
  }

  ::-webkit-scrollbar-corner {
    background-color: purple;
  }
</style>