[Webkit-unassigned] [Bug 189256] feFlood with explicit size in CSS filter doesn't render

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 10 17:26:51 PDT 2023


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

--- Comment #5 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
(In reply to Simon Fraser (smfr) from comment #4)
> I don't think this config changed; if our rendering differs from Chrome and
> Firefox and we think the behavior is correct, we should open a spec issue to
> have the spec clarify behavior.

But the specs is clear for applying an SVGFilter on an SVGElement. The geometry of the filterRegion is { -10%, -10%, 110%, 110% }, see https://drafts.fxtf.org/filter-effects/#filter-region. 

The problem happens when applying the SVGFilter to an HTMLElement. Do we apply the filterRegion geometry outside the HTMLElement border box? 

> 
> It's not clear to me that WebKit behavior is correct.

I am not sure why the rendering of Chrome and FireFox is correct. They clip the top and left filter extension and they keep the right and the bottom.

And I think we need at least to retitle this bug and preferably close this one and open a new one. The original bug was fixed (not drawing the filter itself). We now want to discuss: The filterRegion geometry of the SVGFilter when applied on an HTMLElement.

-- 
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/20230411/dd2fee85/attachment.htm>


More information about the webkit-unassigned mailing list