Stop using servo UA stylesheets for geckolib.

Gecko will provide these. This also removes the need to reference
the servo resource directory.
This commit is contained in:
Bobby Holley 2016-03-02 16:38:53 -08:00
parent c4aa7cd862
commit 4da1171474
4 changed files with 9 additions and 64 deletions

View file

@ -146,7 +146,9 @@ impl<Impl: SelectorImplExt> Stylist<Impl> {
}
if self.quirks_mode {
self.add_stylesheet(&Impl::get_quirks_mode_stylesheet());
if let Some(s) = Impl::get_quirks_mode_stylesheet() {
self.add_stylesheet(s);
}
}
for ref stylesheet in doc_stylesheets.iter() {