mirror of
https://github.com/servo/servo.git
synced 2025-06-28 02:53:48 +01:00
Implement document.compatMode
Spec: http://dom.spec.whatwg.org/#dom-document-compatmode This is a sub-task for #1428.
This commit is contained in:
parent
0dd37d9cd3
commit
56572a2814
6 changed files with 68 additions and 3 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue