<?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>18124</bug_id>
          
          <creation_ts>2012-07-18 17:21:41 +0000</creation_ts>
          <short_desc>Consider supporting ending comments with --!&gt; in prescan. (The dashes can&apos;t overlap with &lt;!--, though.)</short_desc>
          <delta_ts>2012-09-18 12:12:42 +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>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#documentEncoding</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>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
    
    <cc>zcorpan</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>70715</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:21:41 +0000</bug_when>
    <thetext>This was was cloned from bug 16807 as part of operation convergence.
Originally filed: 2012-04-20 13:38:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-04-20 13:38:44 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html
Multipage: http://www.whatwg.org/C#documentEncoding
Complete: http://www.whatwg.org/c#documentEncoding

Comment:
Consider supporting ending comments with --!&gt; in prescan. (The dashes can&apos;t
overlap with &lt;!--, though.)

Posted from: 85.227.154.145 by simonp@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.3; U; en) Presto/2.10.229 Version/11.62
================================================================================
 #1   Ian &apos;Hixie&apos; Hickson                             2012-04-20 18:37:34 +0000 
--------------------------------------------------------------------------------
Unless there&apos;s a compelling reason to do so, I can&apos;t see my considering this for very long...
================================================================================
 #2   Simon Pieters                                   2012-04-20 19:30:05 +0000 
--------------------------------------------------------------------------------
It would make the prescan find charset declarations after &lt;!-- --!&gt; comments, which prevents scripts from running twice if the parser decides to change the encoding...

$ grep -aEihzZB2 &quot;&lt;\!-[-]([^-]|-[^-]|-[-][^&gt;])*-[-]\!&gt;.+text/html[[:space:]]*;[[:space:]]*charset[[:space:]]*=&quot; web200904 &gt; bang-comment-then-encoding.txt

Seems only two pages in this data set match, but they have an encoding decl before the comment as well.
================================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74026</commentid>
    <comment_count>1</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2012-09-18 12:12:42 +0000</bug_when>
    <thetext>Same decision as https://www.w3.org/Bugs/Public/show_bug.cgi?id=16807</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>