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

Side by Side Diff: LayoutTests/editing/execCommand/switch-multiple-list-items.html

Issue 5536001: Merge 73052 - 2010-12-01 Ryosuke Niwa <rniwa@webkit.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../../resources/dump-as-markup.js"></script> 4 <script src="../../resources/dump-as-markup.js"></script>
5 <div contenteditable="true"><ul><li>One<br></li><li>Two<br></li><li>Three<br></l i></ul></div> 5 <div contenteditable="true"><ul><li>One<br></li><li>Two<br></li><li>Three<br></l i></ul></div>
6 <script> 6 <script>
7 7
8 Markup.description('This tests switching the list type of multiple list items at once. WebKit should not crash.'); 8 Markup.description('This tests switching the list type of multiple list items at once. WebKit should not crash.');
9 9
10 var div = document.getElementsByTagName('div')[0]; 10 var div = document.getElementsByTagName('div')[0];
11 window.getSelection().selectAllChildren(div); 11 window.getSelection().selectAllChildren(div);
12 document.execCommand('InsertOrderedList', false, null); 12 document.execCommand('InsertOrderedList', false, null);
13 13
14 Markup.dump(div, 'One, Two, and Three should all be in a single ol, each followe d by a single br.'); 14 Markup.dump(div, 'One, Two, and Three should all be in a single ol, each followe d by a single br.');
15 15
16 </script> 16 </script>
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/editing/execCommand/switch-multiple-list-items-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698