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

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-23T11:24:24 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
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

Powered by Google App Engine
This is Rietveld 408576698