[Webkit-unassigned] [Bug 258310] Update handling of negative std.dev for feGaussianblur/feDropShadow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 27 15:23:46 PDT 2023


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

--- Comment #3 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Said Abou-Hallawa from comment #2)
> This is a degenerate case.
> 
> Currently WebKit disables the effect of the whole filter graph if the
> standard deviation is negative. See this code in buildFilterEffectsGraph():
> 
>     auto effect = effectElement.filterEffect(*inputs, destinationContext);
>     if (!effect)
>         return std::nullopt;
> 
> And see this code in SVGFEDropShadowElement::createFilterEffect():
> 
>     if (stdDeviationX() < 0 || stdDeviationY() < 0)
>         return nullptr;

Good help! I was not aware of 'buildFilterEffectsGraph' part, should I do PR to match Chrome's behavior since it is aligned with web-spec?

-- 
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/20230627/39b65108/attachment.htm>


More information about the webkit-unassigned mailing list