diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-06-13 19:25:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 19:25:09 -0700 |
commit | d28324d9eb1dd484c322698d2acb64831637c7ee (patch) | |
tree | 5063418ff4ca7a4bfb6bfcb17a62e315c7fb7791 /components/script/dom/htmllinkelement.rs | |
parent | fbbabed07595b8bdb9af4670c7cc98b58212f6fe (diff) | |
parent | 6c5915068afa6753c20f6f4f319c0aef906f7467 (diff) | |
download | servo-d28324d9eb1dd484c322698d2acb64831637c7ee.tar.gz servo-d28324d9eb1dd484c322698d2acb64831637c7ee.zip |
Auto merge of #17304 - hiikezoe:allow-negative-length-for-SMIL, r=emilio
Allow negative length for SMIL
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1369588
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because it's for stylo
<!-- 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/17304)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmllinkelement.rs')
-rw-r--r-- | components/script/dom/htmllinkelement.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/htmllinkelement.rs b/components/script/dom/htmllinkelement.rs index da004317179..ff004261db5 100644 --- a/components/script/dom/htmllinkelement.rs +++ b/components/script/dom/htmllinkelement.rs @@ -32,10 +32,11 @@ use std::cell::Cell; use std::default::Default; use style::attr::AttrValue; use style::media_queries::parse_media_query_list; -use style::parser::{PARSING_MODE_DEFAULT, ParserContext as CssParserContext}; +use style::parser::ParserContext as CssParserContext; use style::str::HTML_SPACE_CHARACTERS; use style::stylearc::Arc; use style::stylesheets::{CssRuleType, Stylesheet}; +use style_traits::PARSING_MODE_DEFAULT; use stylesheet_loader::{StylesheetLoader, StylesheetContextSource, StylesheetOwner}; unsafe_no_jsmanaged_fields!(Stylesheet); |