Setting innerText to an empty string on editable div loses focus
[WebKit-https.git] / LayoutTests / editing / execCommand / remove-formatting-expected.txt
1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 13 of DIV > BODY > HTML > #document
2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > B > DIV > BODY > HTML > #document to 3 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
6 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > A > DIV > BODY > HTML > #document to 3 of #text > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 3 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
8 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
9 EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
10 This is a test for execCommand("RemoveFormat"). It demonstrates a bug: everything in the editable region below should be selected, as everything was selected before Remove Format was performed.
11
12 markup:
13 | "
14 "
15 | "<#selection-anchor>foo"
16 | <a>
17 |   href="http://www.google.com/"
18 |   "bar"
19 | "baz"
20 | <br>
21 | "
22 "
23 | <table>
24 |   border="1"
25 |   <tbody>
26 |     <tr>
27 |       <td>
28 |         "foo"
29 |       <td>
30 |         "bar"
31 |       <td>
32 |         "baz"
33 | "
34 "
35 | "foo"
36 | "bar"
37 | "baz<#selection-focus>"
38 | <br>
39 | "
40 "
41
42 console:
43