Bug 249854
Summary: | Consider auto-generating CSS animation wrappers from CSSProperties.json | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
Component: | Animations | Assignee: | 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)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/103781617>