Setting innerText to an empty string on editable div loses focus
[WebKit-https.git] / LayoutTests / editing / execCommand / 4920488-expected.txt
1 This tests for a bug in GMail's Editor, they try to extract the contents of a range that has had it's contents removed from the document by an editing command.  Since the bug 43017 requires WebKit does not remove anchor elements, div should be empty after the extraction. We currently leave anchor element in the div due to the Bug 47916.
2
3 After removeFormat:
4 | "<#selection-anchor>dog"
5 | <a>
6 |   href="http://www.google.com/"
7 |   "food<#selection-focus>"
8
9 After extractContents():
10 | "<#selection-anchor>"
11 | <a>
12 |   href="http://www.google.com/"
13 |   <#selection-focus>