Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <script src="../../resources/testharness.js"></script> | 2 <script src="../../resources/testharness.js"></script> |
| 3 <script src="../../resources/testharnessreport.js"></script> | 3 <script src="../../resources/testharnessreport.js"></script> |
| 4 <script src="../assert_selection.js"></script> | 4 <script src="../assert_selection.js"></script> |
| 5 <script> | 5 <script> |
| 6 test(() => assert_selection( | 6 test(() => assert_selection( |
| 7 [ | 7 [ |
| 8 '<div contenteditable>', | 8 '<div contenteditable>', |
| 9 '<div>foo^</div><div>|bar</div>', | 9 'There\u{00A0} b|e no line breaks in this sentence.', |
|
yoichio
2016/09/01 02:12:05
Is this unicode character necessary?
yosin_UTC9
2016/09/01 03:30:55
Done.
You're right. This doesn't affect tes
| |
| 10 '</div>', | 10 '</div>', |
| 11 ].join(''), | 11 ].join(''), |
| 12 'insertHTML <br class="Apple-interchange-newline">', | 12 'insertHTML <div>XYZ</div>', |
| 13 [ | 13 [ |
| 14 '<div contenteditable>', | 14 '<div contenteditable>', |
| 15 '<div>foo</div><div>|bar</div>', | 15 'There\u{00A0} bXYZ|e no line breaks in this sentence.', |
| 16 '</div>', | 16 '</div>', |
| 17 ].join('')), | 17 ].join('')), |
| 18 'interchange-newline does nothing for DIV'); | 18 'insertHTML with DIV to text'); |
| 19 </script> | 19 </script> |
| OLD | NEW |