wpt / css / css-scrollbars / scrollbar-color-008.html

Status: FAIL | Duration: 8ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-scrollbars/scrollbar-color-008.html

<!doctype html>
<html>
<title>CSS Scrollbars: scrollbar-color on body correctly interacts with ::-webkit-scrollbar-corner on container</title>
<link rel="author" title="Luke Warlow" href="mailto:luke@warlow.dev" />
<link rel="match" href="scrollbar-color-008-ref.html" />
<link rel="mismatch" href="scrollbar-color-008-mis-ref.html" />
<link rel="help" href="https://drafts.csswg.org/css-scrollbars-1/#color-compat" />
<style>
  body {
    scrollbar-color: yellow blue;
  }

  .container {
    scrollbar-gutter: stable;
    overflow: auto;
    height: 200px;
    min-width: 200px;
    margin: 1px;
    padding: 0px;
    border: none;
    background: deepskyblue;
  }

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

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

/css/css-scrollbars/scrollbar-color-008-ref.html

<!doctype html>
<html>
<style>
  .container {
    scrollbar-gutter: stable;
    overflow: auto;
    height: 200px;
    min-width: 200px;
    margin: 1px;
    padding: 0px;
    border: none;
    background: deepskyblue;
    scrollbar-color: yellow blue;
  }

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