Re: [svgwg] The filter region clipping

(This query would probably have been better directed at the "Filter Effects" specification, since that's where that part of the SVG 1.1 spec has moved and is maintained. https://drafts.fxtf.org/filter-effects/ and the w3c/fxtf-drafts GH repo.)

I think this has been clarified a bit in the latest draft of "Filter Effects":
> The filter region acts as a hard clip clipping rectangle on the filter primitive’s input image(s).
>
> The filter primitive subregion acts as a hard clip clipping rectangle on the filter primitive result.

(From https://drafts.fxtf.org/filter-effects/#FilterPrimitiveSubRegion)

So first the input to the `feGaussianBlur` (`SourceGraphic`) is clipped by the filter region (a rectangle <x, y, w, h>=<0.185 * 160, -0.1 * 160, 1.2 * 160, 1.2 * 160>), then the blur is applied and then the output/result of the primitive is clipped by the filter primitive subregion (a rectangle the same as the filter region save for the width which is replaced with 100.)

Based on the that the correct rendering is the one made by Firefox. (Maybe needless to say, but this wasn't well-defined in SVG 1.1.)

-- 
GitHub Notification of comment by fsoder
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/587#issuecomment-437699967 using your GitHub account

Received on Sunday, 11 November 2018 20:02:20 UTC