summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/inset-box-shadow-scroll-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/inset-box-shadow-scroll-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/inset-box-shadow-scroll-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/inset-box-shadow-scroll-ref.html b/testing/web-platform/tests/css/css-backgrounds/inset-box-shadow-scroll-ref.html
new file mode 100644
index 0000000000..55be941bfc
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/inset-box-shadow-scroll-ref.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<style>
+#target {
+ width: 220px;
+ height: 120px;
+ overflow: scroll;
+}
+#inner {
+ padding: 10px;
+ box-shadow: 10px 10px green inset;
+ height: 120px;
+}
+</style>
+<div id="target">
+ <div id="inner">
+ Passes if green inset shadow is visible.
+ </div>
+</div>