mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Sort imports in element.rs.
This commit is contained in:
parent
1389be3782
commit
852d973a70
1 changed files with 8 additions and 7 deletions
|
@ -54,22 +54,25 @@ use dom::node::{document_from_node, NodeDamage};
|
||||||
use dom::node::{window_from_node};
|
use dom::node::{window_from_node};
|
||||||
use dom::nodelist::NodeList;
|
use dom::nodelist::NodeList;
|
||||||
use dom::virtualmethods::{VirtualMethods, vtable_for};
|
use dom::virtualmethods::{VirtualMethods, vtable_for};
|
||||||
|
|
||||||
use devtools_traits::AttrInfo;
|
use devtools_traits::AttrInfo;
|
||||||
use style::legacy::{SimpleColorAttribute, UnsignedIntegerAttribute, IntegerAttribute, LengthAttribute};
|
|
||||||
use selectors::matching::matches;
|
|
||||||
use style::properties::{PropertyDeclarationBlock, PropertyDeclaration, parse_style_attribute};
|
|
||||||
use selectors::parser::parse_author_origin_selector_list_from_str;
|
|
||||||
use style;
|
use style;
|
||||||
|
use style::legacy::{SimpleColorAttribute, UnsignedIntegerAttribute, IntegerAttribute, LengthAttribute};
|
||||||
|
use style::properties::{PropertyDeclarationBlock, PropertyDeclaration, parse_style_attribute};
|
||||||
use util::namespace;
|
use util::namespace;
|
||||||
use util::str::{DOMString, LengthOrPercentageOrAuto};
|
use util::str::{DOMString, LengthOrPercentageOrAuto};
|
||||||
|
|
||||||
|
use cssparser::RGBA;
|
||||||
use html5ever::serialize;
|
use html5ever::serialize;
|
||||||
use html5ever::serialize::SerializeOpts;
|
use html5ever::serialize::SerializeOpts;
|
||||||
use html5ever::serialize::TraversalScope;
|
use html5ever::serialize::TraversalScope;
|
||||||
use html5ever::serialize::TraversalScope::{IncludeNode, ChildrenOnly};
|
use html5ever::serialize::TraversalScope::{IncludeNode, ChildrenOnly};
|
||||||
use html5ever::tree_builder::{NoQuirks, LimitedQuirks, Quirks};
|
use html5ever::tree_builder::{NoQuirks, LimitedQuirks, Quirks};
|
||||||
|
use selectors::matching::matches;
|
||||||
|
use selectors::parser::parse_author_origin_selector_list_from_str;
|
||||||
|
use string_cache::{Atom, Namespace, QualName};
|
||||||
|
use url::UrlParser;
|
||||||
|
|
||||||
use cssparser::RGBA;
|
|
||||||
use std::ascii::AsciiExt;
|
use std::ascii::AsciiExt;
|
||||||
use std::borrow::{IntoCow, ToOwned};
|
use std::borrow::{IntoCow, ToOwned};
|
||||||
use std::cell::{Ref, RefMut};
|
use std::cell::{Ref, RefMut};
|
||||||
|
@ -77,8 +80,6 @@ use std::default::Default;
|
||||||
use std::mem;
|
use std::mem;
|
||||||
use std::old_io::{MemWriter, Writer};
|
use std::old_io::{MemWriter, Writer};
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use string_cache::{Atom, Namespace, QualName};
|
|
||||||
use url::UrlParser;
|
|
||||||
|
|
||||||
#[dom_struct]
|
#[dom_struct]
|
||||||
pub struct Element {
|
pub struct Element {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue