Skip to content

Non-px lengths in matrix decompositions aren't handled #177

@rjwright

Description

@rjwright

The following keyframes raise an uncaught TypeError.

[{transform: 'translate(50em)'},
{transform: 'translate(200px) rotate(40deg)'}]

This is fine:

[{transform: 'translate(50px)'},
{transform: 'translate(200px) rotate(40deg)'}]

As is this:

[{transform: 'translate(50em)'},
{transform: 'translate(200px)'}]

Will fix the TypeError ASAP, and replace it with treating non-px lengths as 0px (this it not a total fix, just a better failure).

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