servo: Merge #18759 - stylo: Keep unshipping stuff (from emilio:keep-unshipping-dont-stop); r=upsuper

From bug 1396066

Source-Repo: https://github.com/servo/servo
Source-Revision: 90d0afc61485b352b557efeabb52505bd1bd6417
This commit is contained in:
Emilio Cobos Álvarez
2017-10-05 17:54:57 -05:00
parent f20398200b
commit 432714d308
4 changed files with 2528 additions and 2600 deletions

View File

@@ -130,6 +130,11 @@ impl<'a> ParserContext<'a> {
};
context.error_reporter.report_error(self.url_data, location, error)
}
/// Returns whether this is a chrome stylesheets.
pub fn in_chrome_stylesheet(&self) -> bool {
self.url_data.is_chrome()
}
}
// XXXManishearth Replace all specified value parse impls with impls of this