summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/offscreen-clipped-blendmode-3.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/async-scrolling/offscreen-clipped-blendmode-3.html')
-rw-r--r--layout/reftests/async-scrolling/offscreen-clipped-blendmode-3.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/layout/reftests/async-scrolling/offscreen-clipped-blendmode-3.html b/layout/reftests/async-scrolling/offscreen-clipped-blendmode-3.html
new file mode 100644
index 000000000..e128e2987
--- /dev/null
+++ b/layout/reftests/async-scrolling/offscreen-clipped-blendmode-3.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html lang="en"
+ reftest-async-scroll
+ reftest-displayport-x="0" reftest-displayport-y="0"
+ reftest-displayport-w="800" reftest-displayport-h="2000"
+ reftest-async-scroll-x="0" reftest-async-scroll-y="1200">
+<meta charset="utf-8">
+<title>Scrolled blend mode</title>
+
+<style>
+
+body {
+ margin: 0;
+ padding: 100px;
+ height: 4000px;
+ background: white;
+}
+
+#outer {
+ height: 4000px;
+ overflow: hidden;
+}
+
+#inner-contents {
+ border: 1px solid black;
+ box-sizing: border-box;
+ width: 50px;
+ height: 50px;
+ mix-blend-mode: multiply;
+ margin-top: 1400px;
+ transform: translateX(0);
+}
+
+</style>
+
+<div id="outer">
+ <div id="inner">
+ <div id="inner-contents"></div>
+ </div>
+</div>