aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-01-29 10:01:58 -0800
committerGitHub <noreply@github.com>2017-01-29 10:01:58 -0800
commit3e1bc8dcfeafd1d66d786192b898fa35671406f0 (patch)
tree3c8e9a424f224d8c39e6c55fb1218af78edcee37 /components/script
parent1c1aaa5a883bd17618ac90ac67a6f0030a276ff5 (diff)
parentcbe0810e637ecdcabf890e3693b1965fb34b306a (diff)
downloadservo-3e1bc8dcfeafd1d66d786192b898fa35671406f0.tar.gz
servo-3e1bc8dcfeafd1d66d786192b898fa35671406f0.zip
Auto merge of #15294 - atheed:unused-import-fix, r=Manishearth
Removed unused import Removed an unused import in `components/script/dom/element.rs`. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because this is an unused-import fix <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15294) <!-- Reviewable:end -->
Diffstat (limited to 'components/script')
-rw-r--r--components/script/dom/element.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs
index ed652138d69..f85baf3811e 100644
--- a/components/script/dom/element.rs
+++ b/components/script/dom/element.rs
@@ -109,7 +109,7 @@ use style::selector_parser::{NonTSPseudoClass, RestyleDamage, SelectorImpl, Sele
use style::sink::Push;
use style::stylist::ApplicableDeclarationBlock;
use style::values::CSSFloat;
-use style::values::specified::{self, CSSColor, CSSRGBA, LengthOrPercentage};
+use style::values::specified::{self, CSSColor, CSSRGBA};
use stylesheet_loader::StylesheetOwner;
// TODO: Update focus state when the top-level browsing context gains or loses system focus,