3 ms·
When I click the upvote button in Hacker News, and the upvote button disappears, would that be considered an animation?
by Buge 8y ago
When I click the upvote button in Hacker News, and the upvote button disappears, would that be considered an animation?
- lsh 8y agoI don't think so. Definitely a state transition though. If on click it went grey then disappeared it miiight be considered animated.
- chatmasta 8y agoNo because there is nothing like -WebKit-transition on it.
- pilif 8y agoThen people would go back to doing their animations with JS at the cost of more CPU usage, worse frame rate and worse battery life. Finding out whether JS is currently animating an element is about as hard as solving the halting problem.
- nitrogen 8y agoJS timers and element modifications could be rate limited. Far far far cry from the halting problem.