summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar-ref.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar-ref.html b/testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar-ref.html
new file mode 100644
index 0000000000..d6df3b49e5
--- /dev/null
+++ b/testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar-ref.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>CSS Reference: styled scrollbars</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
+<link rel="author" title="Mozilla" href="https://www.mozilla.org">
+<link rel="help" href="https://drafts.csswg.org/css-scrollbars-1/#scrollbar-color-properties">
+<style>
+#outer {
+ border: 1px solid black;
+ width: 200px; height: 200px;
+ overflow: scroll;
+ scrollbar-color: yellow blue;
+}
+#inner {
+ width: 400px; height: 400px;
+}
+</style>
+<p>Test passes if the scrollbars in the following box are styled:</p>
+<div id="outer">
+ <div id="inner">
+ </div>
+</div>