[webkit-reviews] review requested: [Bug 12675] REGRESSION: onBlur
doesn't fire when focus switches between subframes :
[Attachment 13415] Use FocusController::setFocusedNode in the
EventHandler
bugzilla-request-daemon at macosforge.org
bugzilla-request-daemon at macosforge.org
Tue Feb 27 17:41:29 PST 2007
Dex Deacon <occupant4 at gmail.com> has asked for review:
Bug 12675: REGRESSION: onBlur doesn't fire when focus switches between
subframes
http://bugs.webkit.org/show_bug.cgi?id=12675
Attachment 13415: Use FocusController::setFocusedNode in the EventHandler
http://bugs.webkit.org/attachment.cgi?id=13415&action=edit
------- Additional Comments from Dex Deacon <occupant4 at gmail.com>
I had to modify an existing layout test (fast/frames/iframe-window-focus.html)
to pass under this change. I think it's a valid modification though. The test
was blurring and then re-focusing a text node after entering some text. It
then entered more text, assuming the cursor position was preserved.
This worked before because the node never actually received the blur event.
With my change, however, the cursor position is reset when the node is blurred.
More information about the webkit-reviews
mailing list