blob: 4d42733b0ed0da990bd4d227dcc8341a80a6a125 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<xmp id="myxmp">&lt;/xmp></xmp>
<p id="description"></p>
<div id="console"></div>
<script>
description("Test parsing of entity-escaped &lt;/xmp&gt; tag for <a href=\"https://bugs.webkit.org/show_bug.cgi?id=7931\">Bug 7931: Escaped elements within a textarea block can cause the textarea box to be closed prematurely</a>");
var expectedResult = '&lt;' + '/xmp>';
shouldBe('document.getElementById("myxmp").textContent', 'expectedResult');
</script>
</body>
</html>