<?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>9515</bug_id>
          
          <creation_ts>2010-04-14 12:14:40 +0000</creation_ts>
          <short_desc>Allow &lt;noscript&gt; element as child element of &lt;head&gt; element</short_desc>
          <delta_ts>2010-10-04 14:47:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 2000</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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="Axel Dahmen">brille1</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35022</commentid>
    <comment_count>0</comment_count>
    <who name="Axel Dahmen">brille1</who>
    <bug_when>2010-04-14 12:14:40 +0000</bug_when>
    <thetext>I have read about several scenarios requiring a different set of style sheets when script is disabled or not available at a UA.

Currently, &lt;script&gt; is allowed as a child element of &lt;head&gt;, but this is not true for the &lt;noscript&gt; element. (Although a couple of browser vendors yet support the &lt;noscript&gt; tag in the &lt;head&gt; section of a HTML page.)

I suggest to add the &lt;noscript&gt; element to the list of child elements allowed on the &lt;head&gt; element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35026</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2010-04-14 13:31:24 +0000</bug_when>
    <thetext>It already is allowed in head:

Contexts in which this element may be used:

In a head element of an HTML document, if there are no ancestor noscript elements.

Where phrasing content is expected in HTML documents, if there are no ancestor noscript elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35483</commentid>
    <comment_count>2</comment_count>
    <who name="Axel Dahmen">brille1</who>
    <bug_when>2010-05-07 03:03:23 +0000</bug_when>
    <thetext>I can&apos;t find a DTD in the HTML5 spec, neither can I find your comment there. Where is it written?

From the HTML4.01 DTD I can tell that &lt;noscript&gt; is not allowed:

&lt;!ENTITY % head.misc &quot;SCRIPT|STYLE|META|LINK|OBJECT&quot; -- repeatable head elements --&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35485</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2010-05-07 03:11:57 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; I can&apos;t find a DTD in the HTML5 spec, neither can I find your comment there.
&gt; Where is it written?

http://dev.w3.org/html5/spec/semantics.html#the-noscript-element

See the &quot;Contexts in which this element may be used&quot; section there (which is Simon quoted from in comment 1).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35492</commentid>
    <comment_count>4</comment_count>
    <who name="Axel Dahmen">brille1</who>
    <bug_when>2010-05-07 03:43:29 +0000</bug_when>
    <thetext>OK, found it... I see now. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>