diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-19 13:34:51 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-19 13:34:51 -0600 |
commit | a0d3c9223f09757124b1520c4f17e94fa8bbe249 (patch) | |
tree | 1dd3e40e5a554466dfb4575758ad15967927d44d /components/script/dom/htmlinputelement.rs | |
parent | 7f2d81933a6158926ff6d03acbc05f191cd5adb3 (diff) | |
parent | de3547e401a0ace8b6bfb4b488ed0be9d5b3d79c (diff) | |
download | servo-a0d3c9223f09757124b1520c4f17e94fa8bbe249.tar.gz servo-a0d3c9223f09757124b1520c4f17e94fa8bbe249.zip |
Auto merge of #7662 - nerith:import, r=frewsxcv
Check for multiple import blocks separated by whitespace
Fixes #7381.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7662)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlinputelement.rs')
-rw-r--r-- | components/script/dom/htmlinputelement.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs index 51b9a3c54f0..766e3e7e0d5 100644 --- a/components/script/dom/htmlinputelement.rs +++ b/components/script/dom/htmlinputelement.rs @@ -27,16 +27,14 @@ use dom::node::{Node, NodeDamage, NodeTypeId}; use dom::node::{document_from_node, window_from_node}; use dom::virtualmethods::VirtualMethods; use msg::constellation_msg::ConstellationChan; +use std::borrow::ToOwned; +use std::cell::Cell; +use string_cache::Atom; use textinput::KeyReaction::{TriggerDefaultAction, DispatchInput, Nothing, RedrawSelection}; use textinput::Lines::Single; use textinput::{TextInput, TextPoint}; - -use string_cache::Atom; use util::str::DOMString; -use std::borrow::ToOwned; -use std::cell::Cell; - const DEFAULT_SUBMIT_VALUE: &'static str = "Submit"; const DEFAULT_RESET_VALUE: &'static str = "Reset"; |