Bug 249854

Summary: Consider auto-generating CSS animation wrappers from CSSProperties.json
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: AnimationsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: darin, dino, graouts, sam, 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=241186

Tim Nguyen (:ntim)
Reported 2022-12-23 15:03:30 PST
I think this is worth doing, it's easy to forget to add animation support, so having fields in CSSProperties.json would help. Since the most common type of animation are discrete ones, we should support: ``` "animation": "discrete", ``` but for more complex wrappers: ``` "animation": { "wrapper": "LengthPropertyWrapper", "flags": ["IsLengthPercentage", "NegativeLengthsAreInvalid"] } ``` For custom wrappers: ``` "animation": { "wrapper": "PropertyWrapperFlex" } ``` etc. and then "animation": "not-animatable" if unsupported. That field would be mandatory to add.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-12-30 15:04:15 PST
Note You need to log in before you can comment on or make changes to this bug.