Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / fast / parser / entity-end-title-tag.html
blobaa9f2a8ca5f7d968462bbbfc59deda94fd6003d5
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <title id="mytitle">&lt;/title></title>
5 <link rel="stylesheet" href="../js/resources/js-test-style.css">
6 <script src="../js/resources/js-test-pre.js"></script>
7 </head>
8 <body>
9 <p id="description"></p>
10 <div id="console"></div>
11 <script>
12 description("Test parsing of entity-escaped &lt;/title&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>");
14 var expectedResult = '<' + '/title>';
15 shouldBe('document.getElementById("mytitle").textContent', 'expectedResult');
17 successfullyParsed = true;
18 </script>
19 <script src="../js/resources/js-test-post.js"></script>
20 </body>
21 </html>