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

Side by Side Diff: LayoutTests/editing/execCommand/insert-ordered-list-crash2.html

Issue 1298633002: [Editing] Make InsertListCommand check endingSelection() editability. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: v1 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/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 <html>
3 <body>
4 <script src="../../resources/testharness.js"></script>
5 <script src="../../resources/testharnessreport.js"></script>
6 <div id="log"></div>
7
8 <div contenteditable="true" id="div"><ol>
9 <li>AAA<br><br></li>
10 <li><br></li>
11 <li>BBB<br>CCC</li>
12 </ol></div>
13 <div >DDD</div>
yosin_UTC9 2015/08/18 02:05:45 nit: Do we need to have a space in "<div >"?
yoichio 2015/08/18 05:46:25 Done.
14 <script>
15 test(function () {
16 getSelection().selectAllChildren(div);
17 document.execCommand("insertOrderedList");
18 });
19 </script>
20 </body>
21 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/core/editing/InsertListCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698