[Webkit-unassigned] [Bug 25744] typing does not go where window.getSelection() claims it will after an anchor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 18 18:48:02 PDT 2010


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





--- Comment #7 from MORITA Hajime <morrita at google.com>  2010-03-18 18:48:02 PST ---

> How does this effect the user placing a cursor manually at the end of the link
> and typing?  Note that the behavior to NOT type inside the link was done
> deliberately in http://trac.webkit.org/changeset/38683 and is desired.
Uh, I missed this one. Current patch is wrong. 
Thank you for pointing it out.

> 
> This bug is about how getSelection doesn't match what is used internally by
> WebKit, and is asking getSelection to report the position outside the link,
> rather than inside, since typing will go outside.  This will allow web
> applications to be able to check the selection using getSelection and know
> where typing will go at that point.
Agreed. 
Before editing, WebKit forces to locate the selection to meet a certain
criteria.
What wrong would be the timing when it forces the location. 
So more desirable approach would force the selection location after 
each selection movement.

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