| Index: third_party/WebKit/LayoutTests/editing/pasteboard/paste_plain_text_to_newlines.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/paste_before_placeholder.html b/third_party/WebKit/LayoutTests/editing/pasteboard/paste_plain_text_to_newlines.html
|
| similarity index 61%
|
| copy from third_party/WebKit/LayoutTests/editing/pasteboard/paste_before_placeholder.html
|
| copy to third_party/WebKit/LayoutTests/editing/pasteboard/paste_plain_text_to_newlines.html
|
| index dbbe72b0fedf78e64528409d8a29d2ef6c1984da..5120cb6870ee80a654db91b7f8833ba86e4af97f 100644
|
| --- a/third_party/WebKit/LayoutTests/editing/pasteboard/paste_before_placeholder.html
|
| +++ b/third_party/WebKit/LayoutTests/editing/pasteboard/paste_plain_text_to_newlines.html
|
| @@ -8,12 +8,12 @@ test(() => {
|
| 'This test requires window.internals to access clipboard');
|
|
|
| assert_selection(
|
| - '<div contenteditable>^one|<br>two</div>',
|
| + '<div contenteditable><b>|<br></b></div>',
|
| selection => {
|
| - selection.document.execCommand('cut');
|
| - selection.document.execCommand('paste');
|
| + selection.setClipboardData('abc');
|
| + selection.document.execCommand('pasteAndMatchStyle');
|
| },
|
| - '<div contenteditable>one|<br>two</div>',
|
| - 'Paste before placeholder');
|
| + '<div contenteditable><b>abc|</b></div>',
|
| + 'pasteAndMatchStyle');
|
| });
|
| </script>
|
|
|