summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scrollbars/scrollbar-color-010.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-scrollbars/scrollbar-color-010.html')
-rw-r--r--testing/web-platform/tests/css/css-scrollbars/scrollbar-color-010.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-scrollbars/scrollbar-color-010.html b/testing/web-platform/tests/css/css-scrollbars/scrollbar-color-010.html
new file mode 100644
index 0000000000..cc78504ba7
--- /dev/null
+++ b/testing/web-platform/tests/css/css-scrollbars/scrollbar-color-010.html
@@ -0,0 +1,20 @@
+<!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" />
+<link rel="help" href="https://drafts.csswg.org/css-scrollbars-1/#color-compat" />
+<style>
+ :root {
+ scrollbar-color: yellow blue;
+ }
+
+ body {
+ overflow: scroll;
+ }
+
+ body::-webkit-scrollbar-corner {
+ background-color: purple;
+ }
+</style>