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

Unified Diff: LayoutTests/css3/compositing/mix-blend-mode-isolated-group-1.html

Issue 23503046: [CSS Blending] Implement mix-blend-mode in software. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 2 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/css3/compositing/mix-blend-mode-isolated-group-1.html
diff --git a/LayoutTests/css3/compositing/mix-blend-mode-isolated-group-1.html b/LayoutTests/css3/compositing/mix-blend-mode-isolated-group-1.html
new file mode 100644
index 0000000000000000000000000000000000000000..1bcad4d4938c5a7efbc7ef6a5c2ddbed5c00ce2e
--- /dev/null
+++ b/LayoutTests/css3/compositing/mix-blend-mode-isolated-group-1.html
@@ -0,0 +1,79 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+
+ body {
+ background: red;
+ }
+
+ div {
+ margin: 20px;
+ width: 60px;
+ height: 60px;
+ }
+
+ .parent {
+ opacity: 0.99;
+ float: left;
+ background: violet;
+ }
+
+ .child {
+ background: url('resources/ducky.png') no-repeat 0 0 /100% 100%, green;
+ }
+
+</style>
+<!-- Test to ensure that blending is performed only with the contents of the element's nearest ancestor stacking context.
+ Test this with a parent element that has opacity set. -->
+<body>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: normal;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: multiply;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: screen;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: overlay;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: darken;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: lighten;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: color-dodge;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: color-burn;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: hard-light;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: soft-light;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: difference;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: exclusion;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: hue;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: saturation;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: color;"></div>
+ </div>
+ <div class="parent">
+ <div class="child" style="mix-blend-mode: luminosity;"></div>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698