blob: 1ec6db4e8cca26a2e90360c59e8e3d5902701f41 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../resources/js-test-pre.js"></script>
<script>
description("Test that an <image> element in HTML has an end tag when serialized.");
var div = document.createElement("div");
var image = document.createElement("image");
shouldBe("image.__proto__", "HTMLUnknownElement.prototype");
div.appendChild(image);
shouldBeEqualToString("div.innerHTML", "<image></image>");
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>