| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <html> |
| <head> |
| <link rel="stylesheet" href="../js/resources/js-test-style.css"> |
| <script src="../js/resources/js-test-pre.js"></script> |
| </head> |
| <body> |
| <textarea id="mytextarea01"></textarea></textarea><br> |
| <textarea id="mytextarea02"></textarea></textarea><br> |
| <textarea id="mytextarea03"></textarea></textarea><br> |
| <textarea id="mytextarea04"></textarea></textarea><br> |
| <textarea id="mytextarea05"></textarea></textarea><br> |
| <textarea id="mytextarea06"></textarea></textarea><br> |
| <textarea id="mytextarea07"></textarea></textarea><br> |
| <textarea id="mytextarea08"></textarea></textarea><br> |
| <textarea id="mytextarea09"></textarea></textarea><br> |
| <textarea id="mytextarea10"></textarea></textarea><br> |
| <textarea id="mytextarea11"></textarea></textarea><br> |
| <p id="description"></p> |
| <div id="console"></div> |
| <script> |
| description("Test parsing of entity-escaped </textarea> 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 = '<' + '/textarea>'; |
| shouldBe('document.getElementById("mytextarea01").textContent', 'expectedResult'); |
| shouldBe('document.getElementById("mytextarea02").textContent', 'expectedResult'); |
| shouldBe('document.getElementById("mytextarea03").textContent', 'expectedResult'); |
| shouldBe('document.getElementById("mytextarea04").textContent', 'expectedResult'); |
| shouldBe('document.getElementById("mytextarea05").textContent', 'expectedResult'); |
| shouldBe('document.getElementById("mytextarea06").textContent', 'expectedResult'); |
| shouldBe('document.getElementById("mytextarea07").textContent', 'expectedResult'); |
| shouldBe('document.getElementById("mytextarea08").textContent', 'expectedResult'); |
| shouldBe('document.getElementById("mytextarea09").textContent', 'expectedResult'); |
| shouldBe('document.getElementById("mytextarea10").textContent', 'expectedResult'); |
| shouldBe('document.getElementById("mytextarea11").textContent', 'expectedResult'); |
| |
| successfullyParsed = true; |
| </script> |
| <script src="../js/resources/js-test-post.js"></script> |
| </body> |
| </html> |