aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-10-30 10:50:59 +0100
committerMs2ger <ms2ger@gmail.com>2014-11-06 09:41:24 +0100
commitfbb00da2121b2db102d56a56c5c73d2537fcff1c (patch)
treefa29cad4cf5b307c88c6f4aba53a987591ab08f4 /components/script
parent667b511ae3c885deb544afd1bcd80c0ca4669858 (diff)
downloadservo-fbb00da2121b2db102d56a56c5c73d2537fcff1c.tar.gz
servo-fbb00da2121b2db102d56a56c5c73d2537fcff1c.zip
Remove the glob import from the HTML parser.
Glob imports are frowned upon, and after the removal of build_element_for_tag, only a few types are actually used.
Diffstat (limited to 'components/script')
-rw-r--r--components/script/parse/html.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/script/parse/html.rs b/components/script/parse/html.rs
index 71792097b2c..d2ab13fbd3e 100644
--- a/components/script/parse/html.rs
+++ b/components/script/parse/html.rs
@@ -6,13 +6,16 @@ use dom::attr::AttrHelpers;
use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods;
use dom::bindings::codegen::InheritTypes::{NodeCast, ElementCast, HTMLScriptElementCast};
use dom::bindings::js::{JS, JSRef, Temporary, OptionalRootable, Root};
+use dom::comment::Comment;
use dom::document::{Document, DocumentHelpers};
+use dom::documenttype::DocumentType;
use dom::element::{Element, AttributeHandlers, ElementHelpers, ParserCreated};
+use dom::htmlscriptelement::HTMLScriptElement;
use dom::htmlscriptelement::HTMLScriptElementHelpers;
use dom::node::{Node, NodeHelpers, TrustedNodeAddress};
use dom::servohtmlparser;
use dom::servohtmlparser::ServoHTMLParser;
-use dom::types::*;
+use dom::text::Text;
use page::Page;
use parse::Parser;