[Webkit-unassigned] [Bug 62388] New: First EventListener "keypress" Ignored on JavaScript toggled contentEditable DIV
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 9 11:38:22 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=62388
Summary: First EventListener "keypress" Ignored on JavaScript
toggled contentEditable DIV
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://code.google.com/p/chromium/issues/detail?id=776
24
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: swivelgames at live.com
URLs (if applicable) : http://files.swivelgames.com/source/chromiumbug_recreation/chromium_issue.html
Browsers tested:
Safari 5: FAIL
Chrome 11: FAIL
Firefox 4: OK
IE 8: OK
What steps will reproduce the problem?
1. Open URL above in browser
2. Click editable DIV ("Here's some content...")
3. Type
4. Repeat step 3 until the bolded text changes.
What is the expected result?
> The counter should increase every time a key
> is pressed while the DIV is in focus.
What happens instead?
> The first keypress is ignored. Every time after
> the first key is pressed, the span is updated.
I just found a band-aid workaround for this issue. By using focus() after making contentEditable `true`, Chromium notices the first event.
http://files.swivelgames.com/source/chromiumbug_recreation/chromium_issue_bandaid.html
--
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