Bug 213125

Summary: Pass parent style to style resolver via animation code
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: AnimationsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: dino, graouts, graouts, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=194749

Description Antti Koivisto 2020-06-12 07:28:09 PDT
See TreeResolver::createAnimatedElementUpdate:

// FIXME: Remove this hack and pass the parent style via updateCSSAnimationsForElement.
scope().resolver.setParentElementStyleForKeyframes(&parent().style);
Comment 1 Antti Koivisto 2020-06-12 07:30:00 PDT
updateCSSAnimationsForElement etc. arguments should probably be factored into a struct so these sort of things can be changed without touching million places.
Comment 2 Radar WebKit Bug Importer 2020-06-12 07:31:03 PDT
<rdar://problem/64296488>
Comment 3 Antoine Quint 2023-05-10 12:10:55 PDT
I don't see this code anymore, I believe this was done at some point.