In CSS Animations spec, it is mentioned that
In addition, properties qualified with !important are invalid and ignored.
However, the important flag can still be set via CSSStyleDeclaration's setProperty and setPropertyPriority.
Probably the "set a CSS declaration priority" algorithm should ignore when the declaration block is from a keyframe rule.
cc @hiikezoe