[Webkit-unassigned] [Bug 12920] Links inserted at the beginning of the document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 27 19:04:12 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12920


justin.garcia at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adele at apple.com




------- Comment #1 from justin.garcia at apple.com  2007-02-27 19:04 PDT -------
Here's what happens:

When you click on the Insert Link toolbar button, an ajax dialog pops up for
link creation and a form field inside it gains focus.  When a form field is
focused, no other element on the page can be focused, so the editable region in
the page behind the dialog is blurred.  This blows its selection away.  When
the user is finished and the dialog closes, the editable subframe becomes first
responder, and setSelectionFromNone gives it a caret at its beginning.

Adele, we should obviously continue to blur focused nodes when a new node gains
focus, but could we leave an inactive selection inside the old focused node in
the special case where the old focused node is in a different document than the
new focused node in order to fix this bug?  Eventually, all blurred elements
should remember their selections and restore them when they regain focus, like
FF, I think.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list