[Webkit-unassigned] [Bug 192591] New: Don't attempt to compute animated values when there is no relevant animation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 11 09:03:36 PST 2018


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

            Bug ID: 192591
           Summary: Don't attempt to compute animated values when there is
                    no relevant animation
           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: bfulgham at webkit.org
                CC: zimmermann at kde.org

We see nullptr errors in SVGAnimateElementBase::calculateAnimatedValue because it attempts to calculate the animation value of a property that is not being animated.

WebKit does the right thing when setting the animation type, but when animation values are requested, we ignore the fact that the property is either (a) not supposed to be animated, or (b) has no animated properties, and attempt to use the nullptr value to check the result.

We should bail out early if an animation value is requested for a property that is not being animated.

-- 
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/20181211/12647aa1/attachment.html>


More information about the webkit-unassigned mailing list