OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 These tests check if leading line feeds characters in textarea as default values
are parsed correctly. | 7 These tests check if leading line feeds characters in textarea as default values
are parsed correctly. |
8 | 8 |
9 <br> | 9 <br> |
10 <textarea id="no-line-feed">Madoka</textarea> | 10 <textarea id="no-line-feed">Madoka</textarea> |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 shouldBe('document.getElementById("one-line-feed").value', '"Sayaka"'); | 30 shouldBe('document.getElementById("one-line-feed").value', '"Sayaka"'); |
31 | 31 |
32 shouldBe('document.getElementById("two-line-feeds").value', '"\\nMami"'); | 32 shouldBe('document.getElementById("two-line-feeds").value', '"\\nMami"'); |
33 | 33 |
34 shouldBe('document.getElementById("one-line-feed-escaped-char-and-one-line-feed"
).value', '"\\nKyoko"'); | 34 shouldBe('document.getElementById("one-line-feed-escaped-char-and-one-line-feed"
).value', '"\\nKyoko"'); |
35 | 35 |
36 shouldBe('document.getElementById("two-line-feed-escaped-chars").value', '"\\nHo
mura"'); | 36 shouldBe('document.getElementById("two-line-feed-escaped-chars").value', '"\\nHo
mura"'); |
37 </script> | 37 </script> |
38 | 38 |
39 <script src="../../fast/js/resources/js-test-post.js"></script> | |
40 </body> | 39 </body> |
41 </html> | 40 </html> |
OLD | NEW |