This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://html5.org/specs/dom-parsing.html#the-domparser-interface Please specify that when the MIME type argument to parseFromString is "text/html", the other argument gets parsed as HTML in the non-fragment mode with scripting disabled (<script> elements get marked unexecutable and the contents of <noscript> get parsed as markup). Regardless of <meta>s, the resulting document reports UTF-8 as its encoding. What the compatMode property of the resulting document reports depends on doctype as usual. This is implemented in Firefox 12 and up.
Thanks. Let me know if I need anything else. https://bitbucket.org/ms2ger/dom-parsing-and-serialization/changeset/e978cc42a8b2
Looks good. Thanks.