[Webkit-unassigned] [Bug 114041] Selection truncated after .splitText call

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 5 10:58:47 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=114041





--- Comment #1 from Nathan Vander Wilt <natevw at yahoo.com>  2013-04-05 10:57:00 PST ---
Created an attachment (id=196652)
 --> (https://bugs.webkit.org/attachment.cgi?id=196652&action=review)
Tweak the demo to show weird multiple selection effects

Things get even stranger: it appears that the bug doesn't so much "truncate" the selection as it is *not* selecting the new text node. I.e. the result can be a multiple-selection looking thing that can't be represented by the single-selection-only W3C standard.

What's even weirder is that this broken multiple selection effect persists even after calling `.selectAllChildren(parent)` on the selection after the text is split. See new attachment — click on the button repeatedly to randomly split text and the selection soon starts getting "holes" in it between a previous split and the most recent one.

-- 
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