Skip to content

Improve IS_NON_DIMENSIONAL for compatibility with animation-iteration-count#2523

Merged
marvinhagemeister merged 1 commit intopreactjs:masterfrom
viko16:IS_NON_DIMENSIONAL
May 7, 2020
Merged

Improve IS_NON_DIMENSIONAL for compatibility with animation-iteration-count#2523
marvinhagemeister merged 1 commit intopreactjs:masterfrom
viko16:IS_NON_DIMENSIONAL

Conversation

@viko16
Copy link
Copy Markdown
Contributor

@viko16 viko16 commented May 7, 2020

<div style={{ animationIterationCount: 1 }}>text</div>

It can be a number in the syntax but does not take effect in preact@latest

CodeSandbox:
https://codesandbox.io/s/animationiterationcount-as-number-p7i07?file=/src/index.js

Copy link
Copy Markdown
Member

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, love the new tests 👍 Thank you so much for the PR 🎉 ❤️

@marvinhagemeister marvinhagemeister merged commit cd9a1c7 into preactjs:master May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants