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 '^This paragraph should be in a list.<br>|', | |
|
Xiaocheng
2016/08/24 08:14:48
Please change "in a list" to "indented"...
yosin_UTC9
2016/08/24 08:44:07
Done.
Good catch!
| |
| 10 'This paragraph should not be in a list.<br>', | |
| 11 '</div>', | |
| 12 ].join(''), | |
| 13 'indent', | |
| 14 [ | |
| 15 '<div contenteditable>', | |
| 16 '<blockquote style="margin: 0 0 0 40px; border: none; padding: 0 px;">', | |
| 17 '^This paragraph should be in a list.|', | |
| 18 '</blockquote>', | |
| 19 'This paragraph should not be in a list.<br>', | |
| 20 '</div>', | |
| 21 ].join('')), | |
| 22 'Indent on a selection that ends at the start of a paragraph.'); | |
| 23 </script> | |
| OLD | NEW |