<?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>25572</bug_id>
          
          <creation_ts>2014-05-06 06:57:11 +0000</creation_ts>
          <short_desc>Don&apos;t remove script elements when checking noscript (hgroup content model)</short_desc>
          <delta_ts>2014-07-29 23:50:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-noscript-element</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>hsivonen</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105161</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-05-06 06:57:11 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html
Multipage: http://www.whatwg.org/C#the-noscript-element
Complete: http://www.whatwg.org/c#the-noscript-element
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Don&apos;t remove script elements when checking noscript
What is the point of removing the script elements?
It seems to me it affects other parts of the document, e.g.

&lt;hgroup&gt;&lt;script&gt;&lt;/script&gt;&lt;/hgroup&gt;
&lt;p&gt;&lt;noscript&gt;hello&lt;/noscript&gt;&lt;/p&gt;

Removing the script makes the hgroup be invalid.

Posted from: 2a00:801:e0:30:280f:e9ec:404a:b94e
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36 OPR/21.0.1432.48 (Edition Next)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105213</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-06 18:06:34 +0000</bug_when>
    <thetext>Hm, yeah, &lt;hgroup&gt; with just a &lt;script&gt; probably shouldn&apos;t be valid. It would break in non-script scenarios. That&apos;s a good argument for removing it from &lt;hgroup&gt;. Is there anything else this breaks?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105293</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-05-07 10:56:55 +0000</bug_when>
    <thetext>I think hgroup is the only odd one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105324</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-07 18:11:05 +0000</bug_when>
    <thetext>Let&apos;s just drop &lt;script&gt; from &lt;hgroup&gt; then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109507</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-07-29 17:08:51 +0000</bug_when>
    <thetext>Ok, this is done. I just changed h1-h6,script,template to h1-h6,template as the allowed children of &lt;hgroup&gt;. The checkin is going to be delayed because I&apos;m still trying to pin down a very subtle bug in my pipeline.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>