summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/reference/background-attachment-local-hidden-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/reference/background-attachment-local-hidden-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/reference/background-attachment-local-hidden-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/reference/background-attachment-local-hidden-ref.html b/testing/web-platform/tests/css/css-backgrounds/reference/background-attachment-local-hidden-ref.html
new file mode 100644
index 0000000000..fc593c23cd
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/reference/background-attachment-local-hidden-ref.html
@@ -0,0 +1,23 @@
+<!doctype HTML>
+<style>
+ .outer {
+ position:relative;
+ width: 120px;
+ height: 120px;
+ border-radius: 40px;
+ background-color: rgba(255,0,0,0.5);
+ }
+
+ .inner {
+ position:absolute;
+ top:10px;
+ left:10px;
+ width: 100px;
+ height: 100px;
+ border-radius: 30px;
+ background-color: lightblue;
+ }
+</style>
+<div class = "outer">
+ <div class = "inner"></div>
+</div>