From 56572a28142978c4e6e620c21c0b3e5497e3e477 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Thu, 30 Jan 2014 19:10:42 -0400 Subject: Implement document.compatMode Spec: http://dom.spec.whatwg.org/#dom-document-compatmode This is a sub-task for #1428. --- src/components/script/html/hubbub_html_parser.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components/script/html/hubbub_html_parser.rs') 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"); -- cgit v1.2.3