Add an editing command for creating and inserting child lists
[WebKit-https.git] / LayoutTests / editing / execCommand / insert-nested-lists-expected.txt
1 Verifies that 'InsertNestedUnorderedList' and 'InsertNestedOrderedList' work as expected. This test requires WebKitTestRunner or DumpRenderTree.
2
3 After unordered list insertion:
4 | <ul>
5 |   <li>
6 |     "foo<#selection-caret>"
7 |     <br>
8
9 After typing and ordered sublist insertion:
10 | <ul>
11 |   <li>
12 |     "foo"
13 |     <br>
14 |   <ol>
15 |     <li>
16 |       "bar<#selection-caret>"
17
18 After the second unordered list insertion:
19 | <ul>
20 |   <li>
21 |     "foo"
22 |     <br>
23 |   <ol>
24 |     <li>
25 |       "bar"
26 |     <ul>
27 |       <li>
28 |         <#selection-caret>
29
30 After undoing the last list insertion:
31 | <ul>
32 |   <li>
33 |     "foo"
34 |     <br>
35 |   <ol>
36 |     <li>
37 |       "bar<#selection-caret>"
38
39 After redoing the last list insertion:
40 | <ul>
41 |   <li>
42 |     "foo"
43 |     <br>
44 |   <ol>
45 |     <li>
46 |       "bar"
47 |     <ul>
48 |       <li>
49 |         <#selection-caret>
50
51 After selecting a range and inserting another unordered list:
52 | <ul>
53 |   <li>
54 |     "foo"
55 |     <br>
56 |   <ol>
57 |     <li>
58 |       "bar"
59 |     <ul>
60 |       <li>
61 |         <#selection-caret>
62 |       <ul>
63 |         <li>
64
65 After outdenting:
66 | <ul>
67 |   <li>
68 |     "foo"
69 |     <br>
70 |   <ol>
71 |     <li>
72 |       "bar"
73 |     <li>
74 |       <#selection-caret>
75 |       <br>
76 |     <ul>
77 |       <ul>
78 |         <li>
79
80 After outdenting again:
81 | <ul>
82 |   <li>
83 |     "foo"
84 |     <br>
85 |   <ol>
86 |     <li>
87 |       "bar"
88 |   <li>
89 |     "baz<#selection-caret>"
90 |     <br>
91 |   <ol>
92 |     <ul>
93 |       <ul>
94 |         <li>