summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scrollbars/transparent-on-root.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-scrollbars/transparent-on-root.html')
-rw-r--r--testing/web-platform/tests/css/css-scrollbars/transparent-on-root.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-scrollbars/transparent-on-root.html b/testing/web-platform/tests/css/css-scrollbars/transparent-on-root.html
new file mode 100644
index 0000000000..fcab71127d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-scrollbars/transparent-on-root.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>CSS Test: non-opaque scrollbar-color should work on the root</title>
+<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
+<link rel="author" title="Mozilla" href="https://www.mozilla.org">
+<link rel="help" href="https://drafts.csswg.org/css-scrollbars-1/#scrollbar-color-properties">
+<link rel="match" href="transparent-on-root-ref.html">
+<style>
+:root {
+ overflow: scroll;
+ scrollbar-color: transparent transparent;
+ background-color: black;
+}
+</style>