Copying can result in span around block elements on the clipboard
[WebKit-https.git] / LayoutTests / editing / pasteboard / paste-4039777-fix-expected.txt
1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
6 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of #text > LI > UL > DIV > DIV > BODY > HTML > #document to 14 of #text > LI > UL > DIV > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
8 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 1 of #text > LI > UL > DIV > UL > DIV > DIV > BODY > HTML > #document to 1 of #text > LI > UL > DIV > UL > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
10 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
11 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
12 EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
13 Bug fix for <a href="rdar://problem/4039777">&lt;rdar://problem/4039777&gt;</a> Pasting particular snippet of HTML containing list items and a link creates too many list items
14
15 Expected result:
16 | "
17 "
18 | <ul>
19 |   style="text-align:right;"
20 |   <li>
21 |     "A"
22 | "
23 "
24 | <div>
25 |   "
26     "
27 |   <ul>
28 |     "
29         "
30 |     <li>
31 |       "
32             "
33 |       <a>
34 |         href=""
35 |         "B"
36 |       "
37             "
38 |       <br>
39 |       "
40             C 
41         "
42 |     "
43     "
44 |   "
45 "
46 | "
47 "
48
49 Actual result:
50 | "
51 "
52 | <ul>
53 |   style="text-align:right;"
54 |   <li>
55 |     "A"
56 |   <div>
57 |     style="text-align: -webkit-auto; "
58 |     <ul>
59 |       <li>
60 |         <a>
61 |           href=""
62 |           "B"
63 |         " "
64 |         <br>
65 |         "C<#selection-caret>"
66 | <div>
67 |   <ul>
68 |     "
69     "
70 |   "
71 "
72 | "
73 "