diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-04-27 22:32:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-27 22:32:24 -0500 |
commit | d8bcc0db1aad26e007b7e2bdeda3cea4953c0db0 (patch) | |
tree | cfa1edb79e34016517d70dc23295889726701a95 /components/script/stylesheet_loader.rs | |
parent | eb975ab890b21c6a5c55716151c0c5eb144cb0d9 (diff) | |
parent | 1091af6fee5bd69165417bbcf19d66e2ea7c3d84 (diff) | |
download | servo-d8bcc0db1aad26e007b7e2bdeda3cea4953c0db0.tar.gz servo-d8bcc0db1aad26e007b7e2bdeda3cea4953c0db0.zip |
Auto merge of #16609 - nox:quirks, r=Manishearth,emilio
Implement unitless length quirk
The Gecko side doesn't propagate its quirks mode yet.
<!-- 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/16609)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/stylesheet_loader.rs')
-rw-r--r-- | components/script/stylesheet_loader.rs | 3 |
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); |