<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - cross-fade() rendering doesn't match expectation"
href="https://bugs.webkit.org/show_bug.cgi?id=157665#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - cross-fade() rendering doesn't match expectation"
href="https://bugs.webkit.org/show_bug.cgi?id=157665">bug 157665</a>
from <span class="vcard"><a class="email" href="mailto:simon.fraser@apple.com" title="Simon Fraser (smfr) <simon.fraser@apple.com>"> <span class="fn">Simon Fraser (smfr)</span></a>
</span></b>
<pre>We're dropping the blend mode on the floor (but need to fix the transparency layer case).
Probably regressed in r157045.
diff --git a/Source/WebCore/platform/graphics/CrossfadeGeneratedImage.cpp b/Source/WebCore/platform/graphics/CrossfadeGeneratedImage.cpp
index 57e3f1a4f1906a2669ffffdd201559cb3eb5ca16..4acfd8ad22800cf2173f1dab8a79f54c8f9092fc 100644
--- a/Source/WebCore/platform/graphics/CrossfadeGeneratedImage.cpp
+++ b/Source/WebCore/platform/graphics/CrossfadeGeneratedImage.cpp
@@ -51,7 +51,7 @@ static void drawCrossfadeSubimage(GraphicsContext& context, Image& image, Compos
GraphicsContextStateSaver stateSaver(context);
- context.setCompositeOperation(operation);
+// context.setCompositeOperation(operation);
if (useTransparencyLayer)
context.beginTransparencyLayer(opacity);
@@ -60,7 +60,7 @@ static void drawCrossfadeSubimage(GraphicsContext& context, Image& image, Compos
if (targetSize != imageSize)
context.scale(FloatSize(targetSize.width() / imageSize.width(), targetSize.height() / imageSize.height()));
- context.drawImage(image, IntPoint());
+ context.drawImage(image, IntPoint(), ImagePaintingOptions(operation));
if (useTransparencyLayer)
context.endTransparencyLayer();</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>