[Webkit-unassigned] [Bug 249854] New: Consider auto-generating CSS animation wrappers from CSSProperties.json

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 23 15:03:30 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=249854

            Bug ID: 249854
           Summary: Consider auto-generating CSS animation wrappers from
                    CSSProperties.json
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ntim at apple.com
                CC: darin at apple.com, dino at apple.com, graouts at apple.com,
                    sam at webkit.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221223/df77faa6/attachment.htm>


More information about the webkit-unassigned mailing list