I found that latest version of Chrome treats anything like <! data >
as a comment section. What is the spec? I cannot find it at https://www.w3.org/TR/html51/syntax.html. In this spec, the Comment
must start with <!--
, end with -->
, and CDATASection
is not deprecated, must start with <![CDATA[
, end with ]]>
.
Asked
Active
Viewed 13 times
0

acrazing
- 1,955
- 16
- 24
-
Iād consider that a bug in Chrome ... But since it is not valid HTML5 to begin with, I would perhaps not consider it something to complain about either. ā CBroe Aug 18 '17 at 10:19
-
1@CBroe: Nope, expected behavior. See the duplicate. ā BoltClock Aug 18 '17 at 11:13