diff options
Diffstat (limited to 'components/script/test.rs')
-rw-r--r-- | components/script/test.rs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/components/script/test.rs b/components/script/test.rs index 5dd75edad8f..7b87cb71f8c 100644 --- a/components/script/test.rs +++ b/components/script/test.rs @@ -2,28 +2,28 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -pub use dom::bindings::str::{ByteString, DOMString}; -pub use dom::headers::normalize_value; +pub use crate::dom::bindings::str::{ByteString, DOMString}; +pub use crate::dom::headers::normalize_value; // For compile-fail tests only. -pub use dom::bindings::cell::DomRefCell; -pub use dom::bindings::root::Dom; -pub use dom::node::Node; -pub use dom::bindings::refcounted::TrustedPromise; +pub use crate::dom::bindings::cell::DomRefCell; +pub use crate::dom::bindings::root::Dom; +pub use crate::dom::node::Node; +pub use crate::dom::bindings::refcounted::TrustedPromise; pub mod area { - pub use dom::htmlareaelement::{Area, Shape}; + pub use crate::dom::htmlareaelement::{Area, Shape}; } pub mod size_of { - use dom::characterdata::CharacterData; - use dom::element::Element; - use dom::eventtarget::EventTarget; - use dom::htmldivelement::HTMLDivElement; - use dom::htmlelement::HTMLElement; - use dom::htmlspanelement::HTMLSpanElement; - use dom::node::Node; - use dom::text::Text; + use crate::dom::characterdata::CharacterData; + use crate::dom::element::Element; + use crate::dom::eventtarget::EventTarget; + use crate::dom::htmldivelement::HTMLDivElement; + use crate::dom::htmlelement::HTMLElement; + use crate::dom::htmlspanelement::HTMLSpanElement; + use crate::dom::node::Node; + use crate::dom::text::Text; use std::mem::size_of; pub fn CharacterData() -> usize { @@ -60,9 +60,9 @@ pub mod size_of { } pub mod srcset { - pub use dom::htmlimageelement::{parse_a_srcset_attribute, ImageSource, Descriptor}; + pub use crate::dom::htmlimageelement::{parse_a_srcset_attribute, ImageSource, Descriptor}; } pub mod timeranges { - pub use dom::timeranges::TimeRangesContainer; + pub use crate::dom::timeranges::TimeRangesContainer; } |