Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / insert-list-nested-with-orphaned.html
blob2edf68886168556854f8762e94827b8bae33a680
1 <script src="../../resources/dump-as-markup.js"></script>
2 <div id="test" contenteditable>
3 <ul>
4 <ul><li>hello</li></ul>
5 world
6 <ol><li>WebKit</li></ol>
7 <ul>
8 <li>rocks</li>
9 <ul><li>because of you</li></ul>
10 </ul>
11 </ul>
12 </div>
13 <script type="text/javascript">
15 if (window.testRunner)
16 testRunner.dumpAsText();
18 window.getSelection().selectAllChildren(document.getElementById('test'))
19 document.execCommand('InsertOrderedList', false, null);
21 Markup.description("This tests hang when listifying nested lists with an orphaned list child in between (see bug 33668).")
22 Markup.dump('test')
23 </script>