<?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>14770</bug_id>
          
          <creation_ts>2011-11-11 10:20:10 +0000</creation_ts>
          <short_desc>Parse &lt;script&gt; and &lt;style&gt; consistently in text/html</short_desc>
          <delta_ts>2011-11-11 10:48:57 +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>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>10901</dup_id>
          
          <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="Anne">annevk</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>davidc</cc>
    
    <cc>hsivonen</cc>
    
    <cc>james</cc>
    
    <cc>jonas</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>w3c</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>59902</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-11-11 10:20:10 +0000</bug_when>
    <thetext>I.e. change the way &lt;script&gt; and &lt;style&gt; are parsed in the SVG and MathML contexts to be the same way they are parsed outside of it.

See also: http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0812.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59903</commentid>
    <comment_count>1</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2011-11-11 10:45:31 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; I.e. change the way &lt;script&gt; and &lt;style&gt; are parsed in the SVG and MathML
&gt; contexts to be the same way they are parsed outside of it.
&gt; 
&gt; See also:
&gt; http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0812.html

valid mathml won&apos;t have script or style anyway, so I can see no possibility of objections to this from the mathml side. Speaking personally (not checked with the Math WG). I agree with the original comment that even if script/style were valid mathml they should be parsed as per html rather than as xml CDATA. Other aspects of the parse, notably omitted end tags follow html rules, so it isn&apos;t the case that you can simply cut and paste between the xml and html serialisations in any case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59904</commentid>
    <comment_count>2</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2011-11-11 10:48:57 +0000</bug_when>
    <thetext>Note that we can&apos;t simply use the current rules that HTML uses. We&apos;ll need to add some support for content surrounded by &lt;![CDATA[ ... ]]&gt;

*** This bug has been marked as a duplicate of bug 10901 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>