<?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>7089</bug_id>
          
          <creation_ts>2009-07-08 08:30:27 +0000</creation_ts>
          <short_desc>CDATA escapes need to close upon --\s*!&gt;</short_desc>
          <delta_ts>2010-10-04 14:56:48 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://www.erc.gov.ph/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NoReply</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henri Sivonen">hsivonen</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <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>25912</commentid>
    <comment_count>0</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2009-07-08 08:30:27 +0000</bug_when>
    <thetext>Gecko bug https://bugzilla.mozilla.org/show_bug.cgi?id=502984

Compat with existing content seems to require CDATA escape to end with -- !&gt;

Site: http://www.erc.gov.ph/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25940</commentid>
    <comment_count>1</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2009-07-09 13:56:48 +0000</bug_when>
    <thetext>I think we should have a &apos;comment end space bang&apos; state for comments that you can enter from &apos;comment end space&apos;. This needs to be distinct from &apos;comment end bang&apos; only in order to get the end of the comment data right.

Then we should have all the corresponding states for [R]CDATA escapes. (The spec currently doesn&apos;t have real states for espaces, but I elected to implement escapes as states anyway. See http://hg.mozilla.org/mozilla-central/file/0d2fc193cd1f/parser/html/nsHtml5Tokenizer.cpp#l2469 )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26328</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-08-09 21:08:26 +0000</bug_when>
    <thetext>In markup:
Opera and IE8 do not terminate for either --!&gt; or -- &gt; or --! &gt; or -- !&gt;
Safari does not terminate for either -- &gt; or --! &gt; or -- !&gt;, it does for --!&gt;
HTML5 and HTML5 Gecko do not terminate for --! &gt; or -- !&gt;, but do for --!&gt; and -- &gt;

In script:
Opera and IE8 are as above.
Safari is the same as above.
HTML5 and HTML5 Gecko are like Opera and IE8.

The page in question:
   http://www.erc.gov.ph/
...renders differently in every browser I tried.

I am skeptical about making the crazy behaviour in raw text elements even crazier. It&apos;s already really hard to explain; making it harder seems bad. Are there many other pages affected by this?

I&apos;d actually rather remove the --!&gt;/-- &gt; behaviour than add more crazy behaviour here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33136</commentid>
    <comment_count>3</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-03-14 14:48:25 +0000</bug_when>
    <thetext>This bug predates the HTML Working Group Decision Policy.

If you are satisfied with the resolution of this bug, 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

This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>