aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/stylesheet_loader.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-04-23 11:07:48 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-04-27 10:41:55 +0200
commitf68e2fded92e769a1fc0d5bdc963f47da366d651 (patch)
tree9482e5104d03ecbf4bbc4626694389ca9de10e17 /components/script/stylesheet_loader.rs
parent10fb8e61c77fcb2ad1adfe517aa08ecbe64d4db6 (diff)
downloadservo-f68e2fded92e769a1fc0d5bdc963f47da366d651.tar.gz
servo-f68e2fded92e769a1fc0d5bdc963f47da366d651.zip
Propagate quirks mode all the way to ParserContext
The quirks mode is still not properly propagated in geckolib.
Diffstat (limited to 'components/script/stylesheet_loader.rs')
-rw-r--r--components/script/stylesheet_loader.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/stylesheet_loader.rs b/components/script/stylesheet_loader.rs
index a859e798818..14b8c385e39 100644
--- a/components/script/stylesheet_loader.rs
+++ b/components/script/stylesheet_loader.rs
@@ -144,7 +144,8 @@ impl FetchResponseListener for StylesheetContext {
media.take().unwrap(),
shared_lock,
Some(&loader),
- win.css_error_reporter()));
+ win.css_error_reporter(),
+ document.quirks_mode()));
if link.is_alternate() {
sheet.set_disabled(true);