diff options
Diffstat (limited to 'components/script/dom/cssrule.rs')
-rw-r--r-- | components/script/dom/cssrule.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/components/script/dom/cssrule.rs b/components/script/dom/cssrule.rs index b9cc5c19dbd..7b2858e7986 100644 --- a/components/script/dom/cssrule.rs +++ b/components/script/dom/cssrule.rs @@ -2,6 +2,12 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ +use std::cell::Cell; + +use dom_struct::dom_struct; +use style::shared_lock::SharedRwLock; +use style::stylesheets::CssRule as StyleCssRule; + use crate::dom::bindings::codegen::Bindings::CSSRuleBinding::CSSRuleMethods; use crate::dom::bindings::inheritance::Castable; use crate::dom::bindings::reflector::Reflector; @@ -17,10 +23,6 @@ use crate::dom::cssstylerule::CSSStyleRule; use crate::dom::cssstylesheet::CSSStyleSheet; use crate::dom::csssupportsrule::CSSSupportsRule; use crate::dom::window::Window; -use dom_struct::dom_struct; -use std::cell::Cell; -use style::shared_lock::SharedRwLock; -use style::stylesheets::CssRule as StyleCssRule; #[dom_struct] pub struct CSSRule { |