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

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: Rebase 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-gradient-color.html b/LayoutTests/css3/compositing/background-blend-mode-svg-color.html
similarity index 85%
copy from LayoutTests/css3/compositing/background-blend-mode-gradient-color.html
copy to LayoutTests/css3/compositing/background-blend-mode-svg-color.html
index 74ea6cb560cdfe7e16126545e95ec3e4090702c3..0ba66f5da8f37b74872860be6d4ff6a557b6c455 100644
--- a/LayoutTests/css3/compositing/background-blend-mode-gradient-color.html
+++ b/LayoutTests/css3/compositing/background-blend-mode-svg-color.html
@@ -3,14 +3,16 @@
<head>
<style>
div {
- margin: 5px;
width: 130px;
height: 130px;
- background: linear-gradient(to right, white 0%, gray 100%), green;
+ background-size: 130px 130px;
+ background: url('resources/blue-circle.svg'), green;
float: left;
+ margin: 5px;
}
</style>
-<!-- This file should contain a gradient on top of a background color for every type of blending. -->
+</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>

Powered by Google App Engine
This is Rietveld 408576698