Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: LayoutTests/fast/repaint/mix-blend-mode-separate-stacking-context-expected.html

Issue 23503046: [CSS Blending] Implement mix-blend-mode in software. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/repaint/mix-blend-mode-separate-stacking-context-expected.html
diff --git a/LayoutTests/fast/repaint/mix-blend-mode-separate-stacking-context-expected.html b/LayoutTests/fast/repaint/mix-blend-mode-separate-stacking-context-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..90a593caa0bea3cc9e92b952a47cfb04ce50d2e7
--- /dev/null
+++ b/LayoutTests/fast/repaint/mix-blend-mode-separate-stacking-context-expected.html
@@ -0,0 +1,30 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+ div {
+ margin: 20px;
+ width: 130px;
+ height: 130px;
+ float: left;
+ }
+</style>
+<script src="resources/repaint.js" type="text/javascript"></script>
+<body onload="runRepaintTest()">
+ <div style="background: green; position: relative; z-index: -1;">
+ <div id="first" style="background-color: blue;"></div>
+ </div>
+ <div style="background: green; position: relative; z-index: -1;">
+ <div id="second" style="background-color: blue;"></div>
+ </div>
+ <div style="background: green; position: relative; z-index: -1;">
+ <div id="third" style="background-color: blue;"></div>
+ </div>
+ <script>
+ function repaintTest() {
+ document.getElementById('first').style.mixBlendMode = "multiply";
+ document.getElementById('second').style.mixBlendMode = "normal";
+ document.getElementById('third').style.mixBlendMode = "multiply";
+ }
+ </script>
+</body>

Powered by Google App Engine
This is Rietveld 408576698