[Webkit-unassigned] [Bug 252985] New: !important properties are not handled correctly when an element has both transition and animation running

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 27 04:50:18 PST 2023


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

            Bug ID: 252985
           Summary: !important properties are not handled correctly when
                    an element has both transition and animation running
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: koivisto at iki.fi
                CC: dino at apple.com, graouts at apple.com

See the FIXME in TreeResolver::createAnimatedElementUpdate():

            // The cascade may override animated properties and have dependencies to them.
            // FIXME: This is wrong if there are both transitions and animations running on the same element.
            applyCascadeAfterAnimation(*animatedStyle, animatedProperties, styleable.hasRunningTransitions(), *resolvedStyle.matchResult, element, resolutionContext);

We should handle transitions and animations separately.

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


More information about the webkit-unassigned mailing list