1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-25 23:21:26 +03:00
libxml2/test/HTML/comments.html
Mike Dalessio e28d9347bc add test coverage for incorrectly-closed comments
this establishes the baseline behavior so that subsequent commits
which modify this behavior are clear about what's being changed.
2020-12-16 16:12:07 +01:00

15 lines
413 B
HTML

<html>
<body>
<div>
<h3>
<a href="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-incorrectly-closed-comment">
Incorrectly closed comment
</a>
</h3>
<div>
<!--incorrectly closed comment--!><span id=under-test>whatwg guidance is that this should be a DOM node</span><!--correctly closed comment-->
</div>
</div>
</body>
</html>