Bug 252985

Summary: !important properties are not handled correctly when an element has both transition and animation running
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: AnimationsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, graouts, graouts, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test none

Description Antti Koivisto 2023-02-27 04:50:18 PST
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.
Comment 1 Radar WebKit Bug Importer 2023-02-27 04:52:40 PST
<rdar://problem/105970843>
Comment 2 Antoine Quint 2023-03-21 09:04:33 PDT
Created attachment 465540 [details]
Test