X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebCore%2FChangeLog;h=13080f1e80daac8c0c318eeef9aac35957e040e1;hp=ce6073fbb1a253eac3c693e06dbd1598b8a25429;hb=994ff4c84366d0efc408dd65ba48ea83a157a04a;hpb=372aa228fb97bcde3c01d16c11c06c70fe7a31fa diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index ce6073f..13080f1 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,25 @@ +2013-04-22 Rashmi Shyamasundar + + [Cairo] Canvas-shadow behavior is not being as expected + https://bugs.webkit.org/show_bug.cgi?id=108897 + + Reviewed by Martin Robinson. + + Use the pattern-extend-mode "CAIRO_EXTEND_NONE" instead of "CAIRO_EXTEND_PAD" in + PlatformContextCairo::drawSurfaceToContext(). + + In the function PlatformContextCairo::drawSurfaceToContext(), a pattern is being + created from the source surface and this pattern is drawn onto the destination + context. There is no gradient involved. Hence the extend mode for filling the + pattern should be "CAIRO_EXTEND_NONE". If we use the extend mode + "CAIRO_EXTEND_PAD" in PlatformContextCairo::drawSurfaceToContext(), the original + image area is also filled with the shadow color which is not the expected behavior. + + Test: fast/canvas/canvas-image-shadow.html + + * platform/graphics/cairo/PlatformContextCairo.cpp: + (WebCore::PlatformContextCairo::drawSurfaceToContext): + 2013-04-22 Benjamin Poulain Remove the memory instrumentation code