summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/clip-007.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-overflow/clip-007.html')
-rw-r--r--testing/web-platform/tests/css/css-overflow/clip-007.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-overflow/clip-007.html b/testing/web-platform/tests/css/css-overflow/clip-007.html
new file mode 100644
index 0000000000..642ea9c3e6
--- /dev/null
+++ b/testing/web-platform/tests/css/css-overflow/clip-007.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-overflow/#valdef-overflow-clip">
+<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
+<p>Test passes if there is a filled green square.</p>
+<div style="width: 100px; height: 100px; overflow-y: auto;">
+ <div style="overflow-y: clip; height: 100px;">
+ <div style="width: 100px; height: 200px; background: green;"></div>
+ </div>
+</div>