Skip to content

Trying to animate padding with -lite fails with cryptic error message #55

Open
@tommie

Description

@tommie

The error I got was from https://github.com/web-animations/web-animations-js/blob/master/src/keyframe-interpolations.js#L65:

Partial keyframes are not supported

It is difficult to parse what this means. I looked at my inputs, and they did specify everything. Not until I read the code (and figured out that Polymer neon-animation imports -lite) did this error make sense. There is some internal filtering magic going on with the key frames, and this error message is not reflecting what the user specified, but what this internal code did.

It would be nice if the message could at least state what properties are considered partial. Even better if it could say that the key frames are partial because these properties are unsupported (and that they are supported if not using -lite).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions