<?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>1260</bug_id>
          
          <creation_ts>2005-04-19 20:13:35 +0000</creation_ts>
          <short_desc>&lt;noscript&gt; tag closes opened &lt;p&gt; blocks.</short_desc>
          <delta_ts>2005-04-20 06:22:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Parser</component>
          <version>0.6.7</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="Gilles Reeves">nospam</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3772</commentid>
    <comment_count>0</comment_count>
    <who name="Gilles Reeves">nospam</who>
    <bug_when>2005-04-19 20:13:35 +0000</bug_when>
    <thetext>The following HTML code :

&lt;p&gt;Any text (1)
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
document.write(&apos;&lt;a href=&quot;javascript:anyfunction(\&apos;asp\&apos;)&quot;&gt;Any Text (2)&lt;\/a&gt;&apos;)
--&gt;
&lt;/script&gt;
&lt;noscript&gt;&lt;a href=&quot;noscript.html&quot;&gt;Any Text (3)&lt;/a&gt;&lt;/noscript&gt;
Any text (4)
&lt;/p&gt;

... doesn&apos;t validate correctly.

It produces the following error :
Line ##, column #: end tag for element &quot;P&quot; which is not open
&lt;/p&gt;

I think this is wrong : if &quot;&lt;script&gt;&quot; elements can occur everywhere, it should
be logically the same for &quot;&lt;noscript&gt;&quot;. So neither &lt;script&gt; nor &lt;noscript&gt;
should break a &lt;p&gt; section (I suppose, although not checked, that the same
problem may occur with other block level elements, like &lt;li&gt;).

(note that if I put comments around &lt;noscript&gt; $$$ &lt;/noscript&gt;, the page
validates correctly)

Gingko</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3773</commentid>
    <comment_count>1</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2005-04-19 20:53:29 +0000</bug_when>
    <thetext>Thanks for your comment. The Validator only checks for requirements spelled out 
in various W3C specifications such as http://www.w3.org/TR/html4/ . You seem to 
disagree with one such requirement, so the Validator is not the right place for 
this concern. Please check the &quot;Status of this document&quot; section in the 
corresponding specification, it contains a note where to send comments, I think 
in this case this would be the publicly archived mailing list www-html@w3.org .</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>