diff --git a/components/style/keyframes.rs b/components/style/keyframes.rs index eca73f1f848..07de56158ea 100644 --- a/components/style/keyframes.rs +++ b/components/style/keyframes.rs @@ -254,7 +254,9 @@ fn get_animated_properties(keyframe: &Keyframe) -> Vec { let mut ret = vec![]; // NB: declarations are already deduplicated, so we don't have to check for // it here. - for &(ref declaration, _) in keyframe.block.read().declarations.iter() { + for &(ref declaration, importance) in keyframe.block.read().declarations.iter() { + assert!(!importance.important()); + if let Some(property) = TransitionProperty::from_declaration(declaration) { ret.push(property); }