| 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><div><ruby>你好<rt>ni hao</rt></ruby></ruby></di
v> | 8 <div id="content" contenteditable><div><ruby>你好<rt>ni hao</rt></ruby></ruby></di
v> |
| 9 <ruby><ruby>很<rt>hen</rt></ruby><ruby>好<rt>hao</rt></ruby>? | 9 <ruby><ruby>很<rt>hen</rt></ruby><ruby>好<rt>hao</rt></ruby>? |
| 10 </div> | 10 </div> |
| 11 <textarea cols=50 rows=5></textarea> | 11 <textarea cols=50 rows=5></textarea> |
| 12 </div> | 12 </div> |
| 13 <script> | 13 <script> |
| 14 | 14 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 27 textarea.focus(); | 27 textarea.focus(); |
| 28 document.execCommand('Paste', false, null); | 28 document.execCommand('Paste', false, null); |
| 29 shouldBe("textarea.value.indexOf('\\n')", "firstLine.length"); | 29 shouldBe("textarea.value.indexOf('\\n')", "firstLine.length"); |
| 30 | 30 |
| 31 document.getElementById('container').style.display = 'none'; | 31 document.getElementById('container').style.display = 'none'; |
| 32 } | 32 } |
| 33 | 33 |
| 34 </script> | 34 </script> |
| 35 </body> | 35 </body> |
| 36 </html> | 36 </html> |
| OLD | NEW |