aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmltextareaelement.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-06-07 11:09:14 -0500
committerbors-servo <lbergstrom+bors@mozilla.com>2016-06-07 11:09:14 -0500
commit1e3edf3ca454b91dfdc267c5b2f4347eda9b7cb6 (patch)
tree3f9cbdf968bf83453f8f0ee5bb3c26495925346c /components/script/dom/htmltextareaelement.rs
parentf56848a0e8a9137f128088d1dd0f86e11fad841a (diff)
parentaea03b2f921a41bf78791a877539f1fafab887dd (diff)
downloadservo-1e3edf3ca454b91dfdc267c5b2f4347eda9b7cb6.tar.gz
servo-1e3edf3ca454b91dfdc267c5b2f4347eda9b7cb6.zip
Auto merge of #11656 - Ms2ger:reduce-dom-exposure, r=nox
Reduce the amount of dom code used outside the script crate. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11656) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmltextareaelement.rs')
-rw-r--r--components/script/dom/htmltextareaelement.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/htmltextareaelement.rs b/components/script/dom/htmltextareaelement.rs
index 19d108d95cc..69fe9046dad 100644
--- a/components/script/dom/htmltextareaelement.rs
+++ b/components/script/dom/htmltextareaelement.rs
@@ -2,7 +2,7 @@
* 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/. */
-use dom::attr::{Attr, AttrValue};
+use dom::attr::Attr;
use dom::bindings::cell::DOMRefCell;
use dom::bindings::codegen::Bindings::EventBinding::EventMethods;
use dom::bindings::codegen::Bindings::HTMLTextAreaElementBinding;
@@ -29,6 +29,7 @@ use script_traits::ScriptMsg as ConstellationMsg;
use std::cell::Cell;
use std::ops::Range;
use string_cache::Atom;
+use style::attr::AttrValue;
use style::element_state::*;
use textinput::{KeyReaction, Lines, TextInput, SelectionDirection};