Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<html>
<title>CSS Scrollbars: scrollbar-color on root correctly interacts with ::-webkit-scrollbar-corner on body</title>
<link rel="author" title="Luke Warlow" href="mailto:luke@warlow.dev" />
<link rel="match" href="scrollbar-color-010-ref.html" />
<link rel="mismatch" href="scrollbar-color-010-mis-ref.html" />
<style>
:root {
scrollbar-color: yellow blue;
}
body {
overflow: scroll;
}
body::-webkit-scrollbar-corner {
background-color: purple;
}
</style>