Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / spelling / mark-empty-crash.html
blobbf49b827b40979144d226749b7e0fb87808169e0
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <ul contenteditable>
5 <li id="foo"></li>
6 </ul>
7 <script>
8 test(function() {
9 if (!window.internals)
10 return;
11 internals.settings.setUnifiedTextCheckerEnabled(true);
12 window.getSelection().selectAllChildren(document.getElementById('foo'));
13 document.execCommand('insertParagraph');
14 }, 'spelling');
15 </script>