Setting innerText to an empty string on editable div loses focus
[WebKit-https.git] / LayoutTests / editing / pasteboard / block-wrappers-necessary-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: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
10 EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > P > CENTER > DIV > DIV > BODY > HTML > #document to 86 of #text > P > CENTER > DIV > DIV > BODY > HTML > #document
11 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of P > CENTER > DIV > DIV > BODY > HTML > #document to 2 of CENTER > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of P > CENTER > DIV > DIV > BODY > HTML > #document to 0 of P > CENTER > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
12 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
13 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
14 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of P > CENTER > DIV > DIV > BODY > HTML > #document to 0 of P > CENTER > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
15 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 2 of P > CENTER > DIV > DIV > BODY > HTML > #document to 2 of P > CENTER > DIV > DIV > BODY > HTML > #document toDOMRange:range from 85 of #text > P > P > CENTER > DIV > DIV > BODY > HTML > #document to 85 of #text > P > P > CENTER > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
16 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
17 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
18 EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
19
20
21 Tests: 
22
23 Bug fix for <rdar://problem/4180820> Erroneous spacing between lines introduced on paste
24
25 Applying block styles, like text-align, used to wrap paragraphs that needed block style changes in clones of other paragraphs in the document.  This would almost always introduce unwanted styles.
26
27
28 Before cut:
29 | "
30 "
31 | <div>
32 |   class="editing"
33 |   id="test"
34 |   "
35 "
36 |   <center>
37 |     "
38 "
39 |     <p>
40 |       "
41 <#selection-anchor>This is an "
42 |       <b>
43 |         "interactive"
44 |       " documentation site, so please help out by posting any useful information that you've had to search out."
45 |       <br>
46 |       "
47 (Adding to this "
48 |       <a>
49 |         href="db.cgi?Wiki_Is_So_Easy"
50 |         "wiki is so easy"
51 |       ", you can't screw it up). See "
52 |       <a>
53 |         href="db.cgi?Wiki_Reference"
54 |         "Wiki Reference"
55 |       " for text formatting syntax."
56 |       <br>
57 |       "
58 Info for setting up your own wiki is at "
59 |       <a>
60 |         href="db.cgi?About_Howto.Apple.Com"
61 |         "about howto.apple.com"
62 |       "."
63 |       <br>
64 |       "
65 Check out a cool wiki editor application that helps in wiki generation: "
66 |       <a>
67 |         href="db.cgi?Wikinator"
68 |         "Wikinator"
69 |       "
70 "
71 |     <p>
72 |       "
73 Start browsing the topics below, or use the search field at the bottom of every page.<#selection-focus>
74 "
75 |   "
76 "
77 | "
78 "
79
80 After cut:
81 | "
82 "
83 | <div>
84 |   class="editing"
85 |   id="test"
86 |   "
87 "
88 |   <center>
89 |     "
90 "
91 |     <p>
92 |       <#selection-caret>
93 |       <br>
94 |   "
95 "
96 | "
97 "
98
99 After paste (this should be identical to before cut):
100 | "
101 "
102 | <div>
103 |   class="editing"
104 |   id="test"
105 |   "
106 "
107 |   <center>
108 |     "
109 "
110 |     <p>
111 |       <p>
112 |         "This is an"
113 |         " "
114 |         <b>
115 |           "interactive"
116 |         " "
117 |         "documentation site, so please help out by posting any useful information that you've had to search out."
118 |         <br>
119 |         "(Adding to this"
120 |         " "
121 |         <a>
122 |           href="db.cgi?Wiki_Is_So_Easy"
123 |           "wiki is so easy"
124 |         ", you can't screw it up). See"
125 |         " "
126 |         <a>
127 |           href="db.cgi?Wiki_Reference"
128 |           "Wiki Reference"
129 |         " "
130 |         "for text formatting syntax."
131 |         <br>
132 |         "Info for setting up your own wiki is at"
133 |         " "
134 |         <a>
135 |           href="db.cgi?About_Howto.Apple.Com"
136 |           "about howto.apple.com"
137 |         "."
138 |         <br>
139 |         "Check out a cool wiki editor application that helps in wiki generation:"
140 |         " "
141 |         <a>
142 |           href="db.cgi?Wikinator"
143 |           "Wikinator"
144 |       <p>
145 |         "Start browsing the topics below, or use the search field at the bottom of every page.<#selection-caret>"
146 |   "
147 "
148 | "
149 "