Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prefer unprefixed style attributes over prefixed one (#50)
This is to fix an issue on Firefox 126 (released May 2024), which no longer support `-moz-transform` but `transform`. But when we get style attributes from an element, `-moz-transform` is still available, which makes our `testStyle` fails. So to resolve this issue, we want to use unprefixed attribute if available.
- Loading branch information