[Webkit-unassigned] [Bug 139281] New: feConvolveMatrix does not work correctly when it is defined in the <defs> section and referenced by an svg element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 4 19:14:52 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=139281
Bug ID: 139281
Summary: feConvolveMatrix does not work correctly when it is
defined in the <defs> section and referenced by an svg
element
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
CC: zimmermann at kde.org
Created attachment 242608
--> https://bugs.webkit.org/attachment.cgi?id=242608&action=review
Safari-Rendering
Open the following svg in WebKit:
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<image id="MyImage" width="10" height="10" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAADdJREFUGNNjZGD4/5+BCMDCwMDAwNDQiF9VQz0DEwORgPoKGRkY/v9fe+M5XkXBGpID7kZiFAIAEbULDl5w/68AAAAASUVORK5CYII="/>
<filter id="noop" x="0%" y="0%" width="100%" height="100%">
<feConvolveMatrix order="1" kernelMatrix="1"/>
</filter>
</defs>
<g transform="translate(10, 10)">
<use x="0" y="0" xlink:href="#MyImage" />
<use x="20" y="0" xlink:href="#MyImage">
<filter id="noop" x="0%" y="0%" width="100%" height="100%">
<feConvolveMatrix order="1" kernelMatrix="1"/>
</filter>
</use>
<g filter="url(#noop)">
<use x="40" y="0" xlink:href="#MyImage" />
</g>
</g>
</svg>
Result: The last image looks different from the first two images.
Expected: The three images should look exactly the same. The first image is the row image. The second image has a convolution matrix filter with no-opertaion matrix so the image should not be affected by this filter. The third image has the same filter but it references it from the <defs> section. So It should look the same as the first two but it does not.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141205/dcd70c9a/attachment-0002.html>
More information about the webkit-unassigned
mailing list