Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / toggle-list-uneditable-crash.html
blob3d6653513d0212b6ded7148f9aa636faf743864e
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <ol>
5 <li contenteditable>foo</li>
6 </ol>
7 <div id="log"></div>
8 <script>
9 test(function() {
10 getSelection().collapse(document.querySelector('li'), 0);
11 document.execCommand('insertunorderedlist');
12 }, 'toggle-list-in-uneditable');
13 </script>