Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype html> | |
| 2 <script src="../../resources/testharness.js"></script> | |
| 3 <script src="../../resources/testharnessreport.js"></script> | |
| 4 <script src="../assert_selection.js"></script> | |
| 5 <script> | |
| 6 test(() => assert_selection( | |
| 7 [ | |
| 8 '<div contenteditable>', | |
| 9 '<p>one</p>', | |
| 10 '<p><br></p>', | |
| 11 '<p><b>two|</b></p>', | |
| 12 '<p><br></p>', | |
| 13 '<p>three</p>', | |
| 14 '</div>', | |
| 15 ].join(''), | |
| 16 'insertParagraph', | |
| 17 [ | |
| 18 '<div contenteditable>', | |
| 19 '<p>one</p>', | |
| 20 '<p><br></p>', | |
| 21 '<p><b>two</b></p>', | |
| 22 '<p><b>|<br></b></p>', | |
| 23 '<p><br></p>', | |
| 24 '<p>three</p>', | |
| 25 '</div>', | |
| 26 ].join('')), | |
| 27 'insert BR in B'); | |
| 28 | |
| 29 test(() => assert_selection( | |
|
Xiaocheng
2016/09/15 05:32:37
This is not testing against what the original test
yosin_UTC9
2016/09/15 08:36:32
Done.
| |
| 30 [ | |
| 31 '<div contenteditable>', | |
| 32 '<p>one</p>', | |
| 33 '<p>two</p>', | |
| 34 '<p>|<br></p>', | |
| 35 '</div>', | |
| 36 ].join(''), | |
| 37 'insertParagraph', | |
| 38 [ | |
| 39 '<div contenteditable>', | |
| 40 '<p>one</p>', | |
| 41 '<p>two</p>', | |
| 42 '<p><br></p>', | |
| 43 '<p>|<br></p>', | |
| 44 '</div>', | |
| 45 ].join('')), | |
| 46 'insert BR beforfe BR'); | |
| 47 </script> | |
| OLD | NEW |