diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-scrollbars/scrollbar-color-006.html')
-rw-r--r-- | testing/web-platform/tests/css/css-scrollbars/scrollbar-color-006.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-scrollbars/scrollbar-color-006.html b/testing/web-platform/tests/css/css-scrollbars/scrollbar-color-006.html new file mode 100644 index 0000000000..55947c984c --- /dev/null +++ b/testing/web-platform/tests/css/css-scrollbars/scrollbar-color-006.html @@ -0,0 +1,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/#color-compat" /> +<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> |