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

Side by Side Diff: LayoutTests/editing/execCommand/insert-list-infinite-loop2.html

Issue 1285103002: [Editing] Make loop condition in insertOrderedList::doApply strict. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: nit pick Created 5 years, 4 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 | Source/core/editing/commands/InsertListCommand.cpp » ('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 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <body>
5 <div id="log"></div>
6 <table contenteditable="true"><tbody><tr><td>
7 <table><tbody><tr><td>
8 <ol id="ol"><li>AAA<br><br></li><li><br></li><li>BBB<br>CCC</li></ol>
9 </td></tr></tbody></table>
10 DDD<div style="-webkit-user-select: none;"></div><div style="display: inline -block; border:solid;"></div>
11 </td></tr></tbody></table>
12 <script>
13 test(function () {
14 getSelection().selectAllChildren(ol);
15 document.execCommand('insertOrderedList');
16 });
17 </script>
18 </body>
OLDNEW
« no previous file with comments | « no previous file | Source/core/editing/commands/InsertListCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698