Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Side by Side Diff: LayoutTests/editing/deleting/delete-selection-with-non-editable-end-crash.html

Issue 303263006: Make sure end position of selection to delete editable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/editing/deleting/delete-selection-with-non-editable-end-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7
8 onload = function() {
9 document.replaceChild(document.body.firstElementChild, document.documentElem ent);
10 var selection = getSelection();
11 document.execCommand('SelectAll');
12 document.getElementById('target').contentEditable = true;
13 document.execCommand('Delete');
14 document.documentElement.textContent = 'PASS if Blink doesn\'t crash.';
15 };
16 </script>
17 </head>
18 <body>
19 <div><span id="target">mnop</span>xyz</div>
20 </body>
21 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/deleting/delete-selection-with-non-editable-end-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698