[Webkit-unassigned] [Bug 81661] New: keypress event fired at <body> ends up adding text to a text field

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 20 07:01:37 PDT 2012


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

           Summary: keypress event fired at <body> ends up adding text to
                    a text field
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jochen at chromium.org
                CC: rniwa at webkit.org


Created an attachment (id=132820)
 --> (https://bugs.webkit.org/attachment.cgi?id=132820&action=review)
layout test

The attached layout tests demonstrates that a keypress event fired at body (or some other non-editable node for that matter) can end up editing another part of the node, if one of the event handlers changes the selection.

I've tested this with Chrome, and Safari, both will insert "a" into the text field. Firefox does not, IE9 does enter it.

It's not clear to me, what the expected behavior is?

See also bug 81660

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