[Webkit-unassigned] [Bug 139237] New: SVG filter effect does not respect its region when its ancestor filter is referenced in the svg
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 3 15:47:26 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=139237
Bug ID: 139237
Summary: SVG filter effect does not respect its region when its
ancestor filter is referenced in the svg
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 242533
--> https://bugs.webkit.org/attachment.cgi?id=242533&action=review
Safari-Rendering
Open the following svg in WebKit:
<svg xmlns="http://www.w3.org/2000/svg">
<filter id="f2" filterUnits="objectBoundingBox" primitiveUnits="objectBoundingBox"
x="0" y="0" width="1" height="1">
<feFlood flood-color="#ff0000" result="flood"/>
<feComposite x="10%" y="10%" width="80%" height="80%" style="color-interpolation-filters:sRGB"
in="flood" operator="in" in2="SourceGraphic"/>
</filter>
<g filter="url(#f2)">
<rect x="0" y="0" width="100" height="100" fill="#00ff00"/>
</g>
</svg>
Result: The region applied on the filter effect <feComposite> is ignored. The red rectangle is displayed at position = (0,0) with size = (100,100).
Expected: The red rectangle should be displayed at position = (10,10) with size (80,80). See the attached screen-shots for how Safari and FireFox are displaying the above svg.
NOTE: Chrome and FireFox respect the filter effect region and they behave exactly the same.
--
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/20141203/967a181c/attachment-0002.html>
More information about the webkit-unassigned
mailing list