[Webkit-unassigned] [Bug 112201] New: Label elements aren't firing events properly when "contenteditable".
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 12 15:31:11 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=112201
Summary: Label elements aren't firing events properly when
"contenteditable".
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://jsfiddle.net/wtJVd/10/
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML Events
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: skyler.brungardt at gmail.com
Overview:
<label> elements with the contenteditable attribute set to "true" don't fire events properly – they should fire keyboard events for keydown, keyup, keypress, along with events for blur and focus, and only fire an 'input' event. Comparably, a <div> fires all of the events properly.
Steps to Reproduce:
Visit this example: http://jsfiddle.net/wtJVd/10/
Open the error console. Try focusing, blurring, and typing on the div element in the example, and then try on the label element. Notice which events are logged to the console, and which aren't.
Actual Results:
The only function assigned to an event listener on the label element is the function assigned to the 'input' event.
Expected Results:
All of the functions should get called for both elements on both events.
Build Date & Platform:
2013-03-12, Version 6.0.2 (8536.26.17, 537+), Mac OS 10.8.2
Other Builds & Platforms:
Existent in other browsers based upon Webkit in both Mac OS and Windows (e.g. Chromium). Not present in Firefox.
--
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