[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 11:56:51 PDT 2023


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

--- Comment #2 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
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;

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


More information about the webkit-unassigned mailing list