summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/group-opacity-surface-size-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/async-scrolling/group-opacity-surface-size-1-ref.html')
-rw-r--r--layout/reftests/async-scrolling/group-opacity-surface-size-1-ref.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/layout/reftests/async-scrolling/group-opacity-surface-size-1-ref.html b/layout/reftests/async-scrolling/group-opacity-surface-size-1-ref.html
new file mode 100644
index 000000000..12b6ee367
--- /dev/null
+++ b/layout/reftests/async-scrolling/group-opacity-surface-size-1-ref.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<style>
+
+body {
+ margin: 0;
+ overflow: hidden;
+}
+
+.opacity {
+ opacity: 0.8;
+}
+
+.box {
+ left: 0;
+ top: 200px;
+ width: 200px;
+ height: 200px;
+}
+
+.absolute {
+ position: absolute;
+ background: green;
+ top: 100px;
+}
+
+.fixed {
+ position: absolute;
+ background: blue;
+}
+
+</style>
+
+<div class="opacity">
+ <div class="box absolute"></div>
+ <div class="box fixed"></div>
+</div>