<?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>12401</bug_id>
          
          <creation_ts>2011-03-30 14:51:58 +0000</creation_ts>
          <short_desc>&quot;The noscript element must not be used in XML documents.&quot; &quot;[...] it has no effect in the XHTML syntax.&quot; Why is this? Is this to intentionally confuse or restrict web developers into using a particular habit? There is no fathomable functionally practical r</short_desc>
          <delta_ts>2011-08-04 05:36:29 +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>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>bzbarsky</cc>
    
    <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>47051</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-03-30 14:51:58 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#the-noscript-element

Comment:
&quot;The noscript element must not be used in XML documents.&quot; &quot;[...] it has no
effect in the XHTML syntax.&quot; Why is this? Is this to intentionally confuse or
restrict web developers into using a particular habit? There is no fathomable
functionally practical reasoning behind this decisison. There isn&apos;t even an
issue of syntactical stability here. This is, frankly, a very stupid decision.

Posted from: 199.36.15.4
User agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47052</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2011-03-30 14:58:21 +0000</bug_when>
    <thetext>It doesn&apos;t affect the syntax because XML parsers have no provision for randomly ignoring tags completely inside some element, which is what &lt;noscript&gt; does in HTML syntax.

So it&apos;s not a &quot;decision&quot; so much as a description of a fundamental limitation of XML parsing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47089</commentid>
    <comment_count>2</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-04-01 15:51:59 +0000</bug_when>
    <thetext>You could still say that UAs with scripting enabled should set noscript { display: none } or equivalent.  Then it would be like &lt;video&gt; fallback, basically.  The resulting DOM would be different from text/html, and in some cases it would cause issues, but there&apos;s no reason it can&apos;t work for common things like

&lt;noscript&gt;&lt;p&gt;This is a JavaScript game, so it will not work in browsers without scripting support.&lt;/noscript&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49454</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-06-10 22:28:15 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: People do things like this:

   &lt;noscript&gt; ... &lt;input name=x&gt; ... &lt;/noscript&gt;

...and display:none isn&apos;t going to stop that from being submitted. Or, similarly:

   &lt;noscript&gt; &lt;meta name=refresh content=&apos;...&apos;&gt; &lt;/noscript&gt;

There are plenty of better ways of doing this (like having script delete the contents you don&apos;t want when scripts are enabled).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54143</commentid>
    <comment_count>4</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:36:29 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>