[Webkit-unassigned] [Bug 247411] New: Changes to the filter property are sometimes ignored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 2 23:52:10 PDT 2022


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

            Bug ID: 247411
           Summary: Changes to the filter property are sometimes ignored
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com
                CC: sabouhallawa at apple.com, zimmermann at kde.org

In SVGResourceCache::clientStyleChanged we return early if diff == StyleDifference::Equal.  But we can have StyleDifference::Equal even when the filter property has changed: specifically, when the element does not have a layer, RenderElement::adjustStyleDifference declines to set any new diff value.

The result of this is that changes to the filter property are sometimes not acted upon.

We can fix this by removing the early exit or by introducing a new StyleDifference value to use when the filter property changes and there is no layer.

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


More information about the webkit-unassigned mailing list