| Index: third_party/WebKit/LayoutTests/editing/inserting/insert-space.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html b/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html
|
| index f48cd44b7aba646402334cf283cafd2a74dbb39c..b207f0bf48a0768eb6570d30acfce8f0770eed44 100644
|
| --- a/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html
|
| +++ b/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html
|
| @@ -47,4 +47,14 @@ test(() => assert_selection(
|
| },
|
| '<div contenteditable><p id="para">A\u00A0| B</p></div>'),
|
| 'Insert a instead of plain space when it is inserted before the text node that has a leading plain space');
|
| +
|
| +test(() => assert_selection(
|
| + '<div contenteditable>|<br> </div>',
|
| + selection => {
|
| + selection.document.execCommand('insertText', false, ' ');
|
| + selection.document.execCommand('insertText', false, ' ');
|
| + selection.document.execCommand('insertText', false, ' ');
|
| + },
|
| + '<div contenteditable>\u00A0 \u00A0| </div>'),
|
| + 'Insert spaces into the editable <div> that only has <br> and space as child');
|
| </script>
|
|
|