Bug 251432

Summary: [web-animations] use the keyframe's StyleProperties to determine whether a property is set to "inherit" in a keyframe
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, graouts, koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Antoine Quint 2023-01-31 05:49:12 PST
Right now we determine whether a property is set to "inherit" in a keyframe by doing a string comparison when the Web Animations API is used to set keyframes. However, the StyleRuleKeyframe created for the keyframe has StyleProperties where the value is parsed, it seems safer to check the CSSValue rather than do a string comparison here.
Comment 1 Antoine Quint 2023-01-31 05:52:11 PST
Pull request: https://github.com/WebKit/WebKit/pull/9378
Comment 2 EWS 2023-01-31 08:35:14 PST
Committed 259630@main (9de2e80cf70b): <https://commits.webkit.org/259630@main>

Reviewed commits have been landed. Closing PR #9378 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-01-31 08:36:18 PST
<rdar://problem/104869270>