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

Unified Diff: LayoutTests/css3/compositing/background-blend-mode-tiled-gradient.html

Issue 22596003: Fix background blending for some cases where it did not work at all. The fix adds the blendMode par… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: adding TestExpectation lines for rebaselining Created 7 years, 4 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-tiled-gradient.html
diff --git a/LayoutTests/css3/compositing/effect-background-blend-mode-tiled.html b/LayoutTests/css3/compositing/background-blend-mode-tiled-gradient.html
similarity index 75%
copy from LayoutTests/css3/compositing/effect-background-blend-mode-tiled.html
copy to LayoutTests/css3/compositing/background-blend-mode-tiled-gradient.html
index a76c5375b95a010ad89a16dfd8aaaa1ae48e0f73..d345a1f2b8ea4e2c77565f20b10086eab7db315a 100644
--- a/LayoutTests/css3/compositing/effect-background-blend-mode-tiled.html
+++ b/LayoutTests/css3/compositing/background-blend-mode-tiled-gradient.html
@@ -7,15 +7,16 @@
li
{
- margin: 5px;
- width: 130px;
- height: 130px;
- background: url("resources/ducky.png") 0 0 /50% 50%, linear-gradient(to right, #00ffff 0%, rgba(0,0,255,0) 24%, #ff0000 50%, #ffff00 75%, #00ff00 100%) 0 0 /100% 100%;
- display: block;
- float: left;
+ margin: 5px;
+ width: 130px;
+ height: 130px;
+ background: linear-gradient(to right, #00ffff 0%, rgba(0,0,255,0) 24%, #ff0000 50%, #ffff00 75%, #00ff00 100%) 0 0 /50% 50%,
+ url("resources/ducky.png") 0 0 /100% 100%;
+ display: block;
+ float: left;
}
</style>
-<!-- this file should contain a duck on top of a gradient with every type of blending -->
+<!-- this file should contain a gradient repeated four times on top of a duck with every type of blending -->
<body style="background-color: green">
<ul>
<li style="background-blend-mode: normal, normal"></li>

Powered by Google App Engine
This is Rietveld 408576698