[Webkit-unassigned] [Bug 114227] Text selected with double-click gets unselected after DOM modification

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 19 13:26:33 PDT 2013


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


Santosh Mahto <santosh.ma at samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |santosh.ma at samsung.com




--- Comment #12 from Santosh Mahto <santosh.ma at samsung.com>  2013-10-19 13:25:19 PST ---

> > Source/WebCore/ChangeLog:15
> > +        the selection. Since in double-click case start/end contain the
> > +        correct selection, same should be used after dom modification to
> > +        update selection.
> 
> I don't think always using start & end is correct.
probably you are right
> 
> > Source/WebCore/ChangeLog:21
> > +        (WebCore::FrameSelection::textWasReplaced): use start/end to update
> > +        selection
> 
> Why is that always correct in cases where selection was not made by double click?
I also think we should not apply start/end in all cases. it correctness is guaranteed in double-click case only.

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