<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>15866</bug_id>
          
          <creation_ts>2012-02-03 13:23:50 +0000</creation_ts>
          <short_desc>Support HTML parsing in DOMParser</short_desc>
          <delta_ts>2012-02-04 11:38:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>DOM Parsing and Serialization</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henri Sivonen">hsivonen</reporter>
          <assigned_to name="Ms2ger">Ms2ger</assigned_to>
          <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63637</commentid>
    <comment_count>0</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2012-02-03 13:23:50 +0000</bug_when>
    <thetext>http://html5.org/specs/dom-parsing.html#the-domparser-interface

Please specify that when the MIME type argument to parseFromString is &quot;text/html&quot;, the other argument gets parsed as HTML in the non-fragment mode with scripting disabled (&lt;script&gt; elements get marked unexecutable and the contents of &lt;noscript&gt; get parsed as markup). Regardless of &lt;meta&gt;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63658</commentid>
    <comment_count>1</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-02-03 20:46:58 +0000</bug_when>
    <thetext>Thanks. Let me know if I need anything else.

https://bitbucket.org/ms2ger/dom-parsing-and-serialization/changeset/e978cc42a8b2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63675</commentid>
    <comment_count>2</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2012-02-04 11:38:56 +0000</bug_when>
    <thetext>Looks good. Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>