1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <script src="../js/resources/js-test-pre.js"></script>
7 <xmp id="myxmp"></xmp></xmp>
8 <p id="description"></p>
9 <div id="console"></div>
11 description("Test parsing of entity-escaped </xmp> 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>");
13 var expectedResult = '<' + '/xmp>';
14 shouldBe('document.getElementById("myxmp").textContent', 'expectedResult');
16 <script src="../js/resources/js-test-post.js"></script>