WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
117442
label element should send key and focus events if it has contenteditable attribute
https://bugs.webkit.org/show_bug.cgi?id=117442
Summary
label element should send key and focus events if it has contenteditable attr...
Ryosuke Niwa
Reported
2013-06-10 16:41:22 PDT
Consider merging
https://src.chromium.org/viewvc/blink?revision=149973&view=revision
HTMLLabelElement should be focusable if it passes the test isContentEditable(). As a result, the proper events would be sent. Both Opera and Firefox support this behavior. and
https://chromium.googlesource.com/chromium/blink/+/3a0c29a759041db45ac8bc7b1724f1009a6d576e
A contenteditable label breaks tab focus cycling This is a regression from
https://src.chromium.org/viewvc/blink?view=rev&revision=149973
When using tab to navigate the focusable elements in a page, a contenteditable label claims to be focusable, but label.focus() was not doing anything. The behavior with this patch is the same as in Opera 12.15, but different than in Firefox, because in Firefox label.focus() still does not do anything. IE 10 behaves the same as Opera, and allows label.focus() on contenteditable labels.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug