1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-12 09:17:37 +03:00
libxml2/test/HTML/comments3.html
Mike Dalessio 24cdc89006 test coverage for abruptly-closed comments
These establish baseline behavior so that the subsequent commit is
clear about the behavior it will modify.
2022-03-02 14:42:47 +00:00

18 lines
477 B
HTML

<html>
<body>
<div>
<h3>
<a href="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-abrupt-closing-of-empty-comment">
Abruptly closed comment
</a>
</h3>
<div>
<!-->the previous node should be an empty comment, and this should be a text node-->
</div>
<div>
<!--->the previous node should be an empty comment, and this should be a text node-->
</div>
</div>
</body>
</html>