diff --git a/components/style/keyframes.rs b/components/style/keyframes.rs index 884c5fef86b..7c9b969a210 100644 --- a/components/style/keyframes.rs +++ b/components/style/keyframes.rs @@ -9,11 +9,11 @@ use parser::{ParserContext, ParserContextExtraData, log_css_error}; use properties::{Importance, PropertyDeclaration, PropertyDeclarationBlock}; use properties::PropertyDeclarationParseResult; use properties::animated_properties::TransitionProperty; -use std::fmt; use servo_url::ServoUrl; +use std::fmt; use std::sync::Arc; -use stylesheets::{MemoryHoleReporter, Origin}; use style_traits::ToCss; +use stylesheets::{MemoryHoleReporter, Origin}; /// A number from 1 to 100, indicating the percentage of the animation where /// this keyframe should run. diff --git a/tests/wpt/metadata-css/cssom-1_dev/html/interfaces.htm.ini b/tests/wpt/metadata-css/cssom-1_dev/html/interfaces.htm.ini index aea7989240c..8f0e47d7557 100644 --- a/tests/wpt/metadata-css/cssom-1_dev/html/interfaces.htm.ini +++ b/tests/wpt/metadata-css/cssom-1_dev/html/interfaces.htm.ini @@ -183,15 +183,6 @@ [CSSImportRule interface: attribute styleSheet] expected: FAIL - [CSSGroupingRule interface: attribute cssRules] - expected: FAIL - - [CSSGroupingRule interface: operation insertRule(DOMString,unsigned long)] - expected: FAIL - - [CSSGroupingRule interface: operation deleteRule(unsigned long)] - expected: FAIL - [CSSMediaRule interface: attribute media] expected: FAIL @@ -231,12 +222,6 @@ [CSSMarginRule interface: attribute style] expected: FAIL - [CSSNamespaceRule interface: attribute namespaceURI] - expected: FAIL - - [CSSNamespaceRule interface: attribute prefix] - expected: FAIL - [CSSStyleDeclaration interface: attribute parentRule] expected: FAIL diff --git a/tests/wpt/mozilla/tests/mozilla/interfaces.html b/tests/wpt/mozilla/tests/mozilla/interfaces.html index debc89bf675..1e09f096618 100644 --- a/tests/wpt/mozilla/tests/mozilla/interfaces.html +++ b/tests/wpt/mozilla/tests/mozilla/interfaces.html @@ -22,6 +22,7 @@ test_interfaces([ "CSS", "CSSFontFaceRule", "CSSGroupingRule", + "CSSKeyframeRule", "CSSKeyframesRule", "CSSMediaRule", "CSSNamespaceRule",