blob: 0650535f86ccafe902f284ad0fb3f9c0c174fb1f [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
<style id="mystyle">&lt;/style></style>
</head>
<body>
<script>
description("Test parsing of entity-escaped &lt;/style&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;' + '/style>';
shouldBe('document.getElementById("mystyle").textContent', 'expectedResult');
</script>
</body>
</html>