[Webkit-unassigned] [Bug 235338] New: filterRegion and outsets of referenced SVG filter are calculated correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 18 15:37:31 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235338

            Bug ID: 235338
           Summary: filterRegion and outsets of referenced SVG filter are
                    calculated correctly
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 449435

  --> https://bugs.webkit.org/attachment.cgi?id=449435&action=review

test case

Open the attached test case.

Expected: There should be a drop-shadow effect around the first four boxes. There should be kind of a black border around the fifth box.
Result: None of the five boxes has any effect.

The filterRegion of the referenced is currently set to the targetBoundingBox. Given the geometry of the SVGFilterElement and given the targetBoundingBox, the filterRegion should be calculated using SVGLengthContext::resolveRectangle().
The outsets of the SVGFilter is calculated by getting the outsets of the lastEffect. The outsets of the SVGFilter should be the outsets of the all the effects which are involved in producing the lastEffect.

-- 
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/20220118/3c6bbfb2/attachment-0001.htm>


More information about the webkit-unassigned mailing list