<?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>16231</bug_id>
          
          <creation_ts>2012-03-05 13:21:24 +0000</creation_ts>
          <short_desc>&lt;svg&gt;&lt;script xlink:href=&quot;x&quot;/&gt;&lt;/svg&gt; doesn&apos;t run the script per spec</short_desc>
          <delta_ts>2012-09-14 05:10:49 +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>HTML5 spec</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/#top</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="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>annevk</cc>
    
    <cc>mike</cc>
    
    <cc>nicholas.stimpson</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>silviapfeiffer1</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>65014</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-03-05 13:21:24 +0000</bug_when>
    <thetext>Specification: http://dev.w3.org/html5/spec/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
Why do I have to end the script tag when loading a script from an external
resource?

I have to do:
&lt;script src=&quot;foo.js&quot;&gt;&lt;/script&gt;
I think it should be enough to do:
&lt;script src=&quot;foo.js&quot; /&gt;

Posted from: 212.247.162.243
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65015</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-03-05 13:45:29 +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: &lt;http://dev.w3.org/html5/decision-policy/decision-policy.html&gt;.

Status: Rejected
Change Description: no spec change
Rationale: Proposed change breaks backwards compatibility and breaks compatibility with content such as &lt;script/&gt;alert(&quot;aliens&quot;)&lt;/script&gt; which unfortunately exists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65073</commentid>
    <comment_count>2</comment_count>
    <who name="Nicholas Stimpson">nicholas.stimpson</who>
    <bug_when>2012-03-06 21:58:05 +0000</bug_when>
    <thetext>(In reply to comment #1)
What about in foreign content? The spec says &lt;script/&gt; closes the element but doesn&apos;t run the script. Chrome does that, but Firefox closes the element and runs the script.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65075</commentid>
    <comment_count>3</comment_count>
    <who name="Nicholas Stimpson">nicholas.stimpson</who>
    <bug_when>2012-03-06 22:06:06 +0000</bug_when>
    <thetext>(In reply to comment #2)
Clarifications: (a) I&apos;m not the original bug raiser. (b) I&apos;m talking about the svg script element of course.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65095</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-03-07 09:05:17 +0000</bug_when>
    <thetext>The SVG case is interesting. I think that&apos;s a spec bug.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1363</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70452</commentid>
    <comment_count>5</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 07:31:10 +0000</bug_when>
    <thetext>This bug was cloned to create bug 17995 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73841</commentid>
    <comment_count>6</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2012-09-14 05:10:49 +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: Accepted
   Change Description:
https://github.com/w3c/html/commit/46f734b8e80d46c67c585d441be7e0839fdcfef3
   Rationale: accepted WHATWG fix</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>