aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlmetaelement.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2017-06-04 21:46:46 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2017-06-04 21:50:09 +0200
commit58fd80e2824f3f37ade20327742056a00588330f (patch)
tree06206e1715f8117576e3b95955792048895dfae2 /components/script/dom/htmlmetaelement.rs
parent942fce3a0bcc307caabecec42bc65265fbee6688 (diff)
downloadservo-58fd80e2824f3f37ade20327742056a00588330f.tar.gz
servo-58fd80e2824f3f37ade20327742056a00588330f.zip
style: Split stylesheets.rs
This file has become quite bloated lately. This commit deletes that file in favor of a set of submodules. The only noticeable change apart from code move, is converting deep_clone_foo methods into a trait. It also unifies logic related to different style rules in the same place. There's some missing work, specially related to font-face and counter-style, but I think this is worth landing in the meantime.
Diffstat (limited to 'components/script/dom/htmlmetaelement.rs')
-rw-r--r--components/script/dom/htmlmetaelement.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/htmlmetaelement.rs b/components/script/dom/htmlmetaelement.rs
index 30bce19c299..888855dc7b6 100644
--- a/components/script/dom/htmlmetaelement.rs
+++ b/components/script/dom/htmlmetaelement.rs
@@ -26,8 +26,7 @@ use style::attr::AttrValue;
use style::media_queries::MediaList;
use style::str::HTML_SPACE_CHARACTERS;
use style::stylearc::Arc;
-use style::stylesheets::{Stylesheet, CssRule, CssRules, Origin};
-use style::viewport::ViewportRule;
+use style::stylesheets::{Stylesheet, CssRule, CssRules, Origin, ViewportRule};
#[dom_struct]
pub struct HTMLMetaElement {