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

Unified Diff: LayoutTests/css3/compositing/mix-blend-mode-with-opacity-change-js-expected.html

Issue 90983002: [CSS Blending] Fix blending when mix-blend-mode is set from javascript (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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/css3/compositing/mix-blend-mode-with-opacity-change-js-expected.html
diff --git a/LayoutTests/css3/compositing/mix-blend-mode-with-opacity-change-js-expected.html b/LayoutTests/css3/compositing/mix-blend-mode-with-opacity-change-js-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..be03f5423b3fad0a4470b56d136031212204b963
--- /dev/null
+++ b/LayoutTests/css3/compositing/mix-blend-mode-with-opacity-change-js-expected.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+ .container {
+ width: 90px;
+ height: 90px;
+ background-color: rgb(0,2,252);
+ border: 5px solid rgb(3,0,0);
+ }
+</style>
+</head>
+<body onload="applyBlendMode()">
+ <p>Test that mix-blend-mode multiply set from javascript on an element<br />
+ having opacity uses the backdrop limited to its stacking context.</p>
+ <p>This test passes if you can see a blue square with black border.</p>
+ <div class="container">
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698