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

Unified Diff: LayoutTests/paint/invalidation/spv2/mix-blend-mode-separate-stacking-context-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/paint/invalidation/spv2/mix-blend-mode-separate-stacking-context-expected.html
diff --git a/LayoutTests/paint/invalidation/spv2/mix-blend-mode-separate-stacking-context-expected.html b/LayoutTests/paint/invalidation/spv2/mix-blend-mode-separate-stacking-context-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..0e3b77774a17dcabcdf9e63b77a65804019b0954
--- /dev/null
+++ b/LayoutTests/paint/invalidation/spv2/mix-blend-mode-separate-stacking-context-expected.html
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+ div {
+ margin: 20px;
+ width: 60px;
+ height: 60px;
+ float: left;
+ }
+</style>
+<!-- Repaint test to ensure that setting a blend mode dynamically triggers this operation
+ only with the contents of the nearest ancestor stacking context. -->
+<body>
+ <div style="background: green; position: relative; z-index: -1;">
+ <div id="first" style="mix-blend-mode: multiply; background-color: blue;"></div>
+ </div>
+ <div style="background: green; position: relative; z-index: -1;">
+ <div id="second" style="mix-blend-mode: normal; background-color: blue;"></div>
+ </div>
+ <div style="background: green; position: relative; z-index: -1;">
+ <div id="third" style="mix-blend-mode: multiply; background-color: blue;"></div>
+ </div>
+ <div id="fourth" style="background: green; position: relative; z-index: -1;">
+ <div style="mix-blend-mode: hue; background-color: blue;"></div>
+ </div>
+</body>

Powered by Google App Engine
This is Rietveld 408576698