OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | 3 <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <div id="container"> | 7 <div id="container"> |
8 <div id="content" contenteditable> | 8 <div id="content" contenteditable> |
9 <ruby>今日<rt>きょう</rt></ruby>は<ruby>良<rt>よ</rt></ruby>い<ruby>天気<rt>てんき</rt></ruby>
ですね。 | 9 <ruby>今日<rt>きょう</rt></ruby>は<ruby>良<rt>よ</rt></ruby>い<ruby>天気<rt>てんき</rt></ruby>
ですね。 |
10 <ruby><ruby>你<rt>ni</rt></ruby><ruby>在<rt>zai</rt></ruby><ruby>拉里<rt>zali</rt></
ruby>? | 10 <ruby><ruby>你<rt>ni</rt></ruby><ruby>在<rt>zai</rt></ruby><ruby>拉里<rt>zali</rt></
ruby>? |
11 </div> | 11 </div> |
12 <textarea cols=50 rows=5></textarea> | 12 <textarea cols=50 rows=5></textarea> |
13 </div> | 13 </div> |
14 <script> | 14 <script> |
(...skipping 10 matching lines...) Expand all Loading... |
25 textarea.focus(); | 25 textarea.focus(); |
26 document.execCommand('Paste', false, null); | 26 document.execCommand('Paste', false, null); |
27 shouldBe("textarea.value.indexOf('\\n')", "-1"); | 27 shouldBe("textarea.value.indexOf('\\n')", "-1"); |
28 | 28 |
29 document.getElementById('container').style.display = 'none'; | 29 document.getElementById('container').style.display = 'none'; |
30 } | 30 } |
31 | 31 |
32 </script> | 32 </script> |
33 </body> | 33 </body> |
34 </html> | 34 </html> |
OLD | NEW |