diff options
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r-- | src/components/script/html/hubbub_html_parser.rs | 1 |
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"); |