Add an editing command for creating and inserting child lists
[WebKit-https.git] / LayoutTests / editing / execCommand / insert-nested-lists-with-pre-expected.txt
1 Verifies that 'InsertNestedUnorderedList' and 'InsertNestedOrderedList' work as expected with pre elements. This test requires WebKitTestRunner or DumpRenderTree.
2
3 After inserting a list inside the pre:
4 | "
5     "
6 | <pre>
7 |   id="pre"
8 |   "Hello"
9 |   <ul>
10 |     <li>
11 |       id="foo"
12 |       "foo"
13 |     <ol>
14 |       <li>
15 |         <#selection-caret>
16 |   "world"
17 | "
18 "
19
20 After inserting a list around the pre:
21 | "
22     "
23 | <pre>
24 |   id="pre"
25 |   <ul>
26 |     <li>
27 |       "<#selection-caret>Hello"
28 |       <br>
29 |     <li>
30 |       id="foo"
31 |       "foo"
32 |     <ol>
33 |       <li>
34 |   "world"
35 | "
36 "