aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r--src/components/script/html/hubbub_html_parser.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index d7179221bb5..c9817dbd6ff 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -445,6 +445,7 @@ pub fn parse_html(cx: *JSContext,
},
set_quirks_mode: |_mode| {
debug!("set quirks mode");
+ document.mut_document().set_quirks_mode(_mode);
},
encoding_change: |_encname| {
debug!("encoding change");