- From: Adam Barth <whatwg@adambarth.com>
- Date: Thu, 26 Jun 2008 22:30:57 -0700
Internet Explorer 7, Firefox 3, Safari 3.1, and Opera 9.5 accept --!> as an alternate comment terminator to the usual --> http://crypto.stanford.edu/~abarth/research/html5/comments/strange-ending.html In Internet Explorer 7 and Opera 9.5, if the document later contains the usual comment terminator, then that character sequence terminates the comment instead: http://crypto.stanford.edu/~abarth/research/html5/comments/strange-ending-with-real-ending.html http://crypto.stanford.edu/~abarth/research/html5/comments/strange-ending-with-later-comment.html Firefox 3 and Safari 3.1 do not appear to exhibit this behavior. (Interestingly, the syntax highlighter in vim suggests the document will be parsed as in Firefox and Safari, no doubt contributing to author confusion.) Adam
Received on Thursday, 26 June 2008 22:30:57 UTC