[Webkit-unassigned] [Bug 117442] New: label element should send key and focus events if it has contenteditable attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 10 16:42:47 PDT 2013


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

           Summary: label element should send key and focus events if it
                    has contenteditable attribute
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: darin at apple.com, enrica at apple.com, jonlee at apple.com


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.

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