diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-23 15:02:56 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-23 15:02:56 -0600 |
commit | a7208869f2903e36f9b2f540b55b50283d7df466 (patch) | |
tree | 056e9dbc10fb3879b4a281296fe99e88490aacc3 /components/script/dom/htmliframeelement.rs | |
parent | 705ad72aee58b4fc636bca3a2784c7643048336d (diff) | |
parent | 889eec364b6e3df22d36581008289e6fbfb8b39f (diff) | |
download | servo-a7208869f2903e36f9b2f540b55b50283d7df466.tar.gz servo-a7208869f2903e36f9b2f540b55b50283d7df466.zip |
Auto merge of #7698 - Wafflespeanut:sorting, r=frewsxcv
sorted the declarations in various files...
This is a direct extract from my abandoned PR for a lint (#7546), along with some rather clumsy modifications (only on `components/script/dom/mod.rs` and `components/style/lib.rs`), because I had to sort some of the files again to make peace with tidy, which hasn't been educated about sorting yet!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7698)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
-rw-r--r-- | components/script/dom/htmliframeelement.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs index 546fb79b47f..a5d2941e2ce 100644 --- a/components/script/dom/htmliframeelement.rs +++ b/components/script/dom/htmliframeelement.rs @@ -7,8 +7,8 @@ use dom::bindings::codegen::Bindings::HTMLIFrameElementBinding; use dom::bindings::codegen::Bindings::HTMLIFrameElementBinding::HTMLIFrameElementMethods; use dom::bindings::codegen::Bindings::WindowBinding::WindowMethods; use dom::bindings::codegen::InheritTypes::HTMLIFrameElementDerived; +use dom::bindings::codegen::InheritTypes::{ElementCast, EventCast, NodeCast}; use dom::bindings::codegen::InheritTypes::{EventTargetCast, HTMLElementCast}; -use dom::bindings::codegen::InheritTypes::{NodeCast, ElementCast, EventCast}; use dom::bindings::conversions::ToJSValConvertible; use dom::bindings::error::Error::NotSupported; use dom::bindings::error::{ErrorResult, Fallible}; @@ -17,18 +17,18 @@ use dom::bindings::js::{Root}; use dom::bindings::utils::Reflectable; use dom::customevent::CustomEvent; use dom::document::Document; -use dom::element::{AttributeMutation, ElementTypeId, self}; +use dom::element::{self, AttributeMutation, ElementTypeId}; use dom::eventtarget::{EventTarget, EventTargetTypeId}; use dom::htmlelement::{HTMLElement, HTMLElementTypeId}; use dom::node::{Node, NodeTypeId, window_from_node}; use dom::urlhelper::UrlHelper; use dom::virtualmethods::VirtualMethods; use dom::window::Window; -use js::jsapi::{RootedValue, JSAutoRequest, JSAutoCompartment}; +use js::jsapi::{JSAutoCompartment, JSAutoRequest, RootedValue}; use js::jsval::UndefinedValue; use msg::constellation_msg::IFrameSandboxState::{IFrameSandboxed, IFrameUnsandboxed}; use msg::constellation_msg::Msg as ConstellationMsg; -use msg::constellation_msg::{PipelineId, SubpageId, ConstellationChan, MozBrowserEvent, NavigationDirection}; +use msg::constellation_msg::{ConstellationChan, MozBrowserEvent, NavigationDirection, PipelineId, SubpageId}; use page::IterablePage; use std::ascii::AsciiExt; use std::borrow::ToOwned; |