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

Unified Diff: LayoutTests/css3/compositing/background-blend-mode-svg-color.html

Issue 17390003: CSS Background Blending doesn't work for svg layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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/background-blend-mode-svg-color.html
diff --git a/LayoutTests/css3/compositing/background-blend-mode-svg-color.html b/LayoutTests/css3/compositing/background-blend-mode-svg-color.html
new file mode 100644
index 0000000000000000000000000000000000000000..e4bd64476206f5eefb2287dafab73bccaaf2c3e9
--- /dev/null
+++ b/LayoutTests/css3/compositing/background-blend-mode-svg-color.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+ div {
+ width: 130px;
+ height: 130px;
+ background-size: 130px 130px;
+ background: url('resources/red-circle.svg'), green;
+ float: left;
+ margin: 5px;
+ }
+</style>
+</head>
+<!-- This file should contain an svg on top of a background color with every type of blending. -->
+<body>
+ <div style="background-blend-mode: normal, normal"></div>
+ <div style="background-blend-mode: multiply, normal"></div>
+ <div style="background-blend-mode: screen, normal"></div>
+ <div style="background-blend-mode: overlay, normal"></div>
+ <div style="background-blend-mode: darken, normal"></div>
+ <div style="background-blend-mode: lighten, normal"></div>
+ <div style="background-blend-mode: color-dodge, normal"></div>
+ <div style="background-blend-mode: color-burn, normal"></div>
+ <div style="background-blend-mode: hard-light, normal"></div>
+ <div style="background-blend-mode: soft-light, normal"></div>
+ <div style="background-blend-mode: difference, normal"></div>
+ <div style="background-blend-mode: exclusion, normal"></div>
+ <div style="background-blend-mode: hue, normal;"></div>
+ <div style="background-blend-mode: saturation, normal"></div>
+ <div style="background-blend-mode: color, normal"></div>
+ <div style="background-blend-mode: luminosity, normal"></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698