Chromium Code Reviews

Side by Side Diff: LayoutTests/editing/execCommand/indent-no-visible-contents-crash.html

Issue 349143002: Don't try to move non visible contents in "Indent" command (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-06-23T03:50:27 Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/indent-no-visible-contents-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 <body>
4 <div contenteditable="true" id="target"><span></span></div>
5 </body>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9 getSelection().collapse(document.getElementById('target'), 0);
10 document.execCommand('Indent');
11 document.body.textContent = 'PASS if Blink doesn\'t crash.';
12 </script>
13 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/indent-no-visible-contents-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine