Open LeaVerou opened 4 years ago
Algorithm:
transition-property
, and match values of transition
by \s(d|r|[cr]?x|[cr]?y|[a-z-]{3,})\s
. Exclude timing function keywords. Count incidence.transition-duration
, animation-duration
, as well as the first <time>
value in transition
and animation
. transition-timing-function
, animation-timing-function
, as well as calls to steps()
and cubic-bezier()
and keywords (ease(-in)?(-out)?|linear|step-start|step-end
) in transition
and animation
type: "keyframes"
, it's in rule.name
.I think we may need to drop timing functions by property, as it's hard to measure reliably in the general case.