summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar-body.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar-body.html')
-rw-r--r--testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar-body.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar-body.html b/testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar-body.html
new file mode 100644
index 0000000000..a1b3aee871
--- /dev/null
+++ b/testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar-body.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>CSS Test: scrollbar style on body element should not be propagated to the viewport</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">
+<link rel="match" href="viewport-scrollbar-body-ref.html">
+<style>
+iframe {
+ border: 1px solid black;
+ width: 200px; height: 200px;
+}
+</style>
+<p>Test passes if the scrollbars in the following box are NOT styled:</p>
+<iframe src="support/viewport-scrollbar-body-frame.html"></iframe>