[Webkit-unassigned] [Bug 62092] setting innerText to an empty string on editable div loses focus
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 24 00:26:07 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=62092
--- Comment #29 from Una Sabovic <una.sabovic at palm.com> 2011-06-24 00:26:06 PST ---
These tests failed for qt as well and I updated their expected output but for qt platform only. Test diffs are in the patch.
I see that tests didn't even run for qt platform once cr-linux has failed.
With the change to move the selection when its start/end are in the text being deleted I believe these failures are expected. Before shouldRemovePositionAfterAdoptingTextReplacement could cause selection to be set to null, but now endpoints are moved to the beginning/end of the newly inserted text per Ryosukes comment.
The end result of the tests - final render tree output and final selection didn't change. But they are all failing with diffs such as the following in the intermediate results. (null) has turned into a valid selection.
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of LI > UL > DIV > BODY > HTML > #document to 0 of LI > UL > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document toDOMRange:range from 0 of LI > UL > DIV > BODY > HTML > #document to 0 of LI > UL > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list