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

Unified Diff: LayoutTests/css3/compositing/mix-blend-mode-simple-text.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-simple-text.html
diff --git a/LayoutTests/css3/compositing/mix-blend-mode-simple-text.html b/LayoutTests/css3/compositing/mix-blend-mode-simple-text.html
new file mode 100644
index 0000000000000000000000000000000000000000..c6ecedb40c722a804bbdf42d01fc7c6080b98370
--- /dev/null
+++ b/LayoutTests/css3/compositing/mix-blend-mode-simple-text.html
@@ -0,0 +1,65 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+ div {
+ margin: 20px;
+ width: 60px;
+ height: 60px;
+ color:#00ff00;
+ font: 100%/1 Ahem, monospace;
+ float: left;
+ }
+</style>
+<!-- Test blending of two simple elements with every blend mode. The topmost element's text should also blend. -->
+<body>
+ <div style="background: green">
+ <div style="mix-blend-mode: normal; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: multiply; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: screen; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: overlay; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: darken; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: lighten; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: color-dodge; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: color-burn; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: hard-light; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: soft-light; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: difference; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: exclusion; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: hue; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: saturation; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: color; background-color: blue;">X X</div>
+ </div>
+ <div style="background: green">
+ <div style="mix-blend-mode: luminosity; background-color: blue;">X X</div>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698