summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scrollbars/scrollbar-color-006.tentative.html
blob: 11f0de750bfc9cbc0644e5abbfb829d07fca0275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!doctype html>
<html>
<title>CSS Scrollbars: scrollbar-color on scrollable areas correctly interacts with ::-webkit-scrollbar-corner</title>
<link rel="author" title="Luke Warlow" href="mailto:luke@warlow.dev" />
<link rel="match" href="scrollbar-color-006-ref.html" />
<link rel="mismatch" href="scrollbar-color-006-mis-ref.html" />
<link rel="help" href="https://drafts.csswg.org/css-scrollbars-1/" />
<style>
  .container {
    scrollbar-gutter: stable;
    overflow: auto;
    height: 200px;
    min-width: 200px;
    margin: 1px;
    padding: 0px;
    border: none;
    background: deepskyblue;
    scrollbar-color: yellow blue;
  }

  ::-webkit-scrollbar-corner {
    background-color: purple;
  }

  .content {
    height: 300px;
    width: 300px;
    background: red;
  }
</style>
<div id="one" class="container">
  <div class="content"></div>
</div>