Bug 165843

Summary: iOS: An element with tabindex is not focusable unless there is no mouse event handler
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: UI EventsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, simon.fraser, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 10   
Hardware: iPhone / iPad   
OS: iOS 10   
Attachments:
Description Flags
Fixes the bug koivisto: review+

Ryosuke Niwa
Reported 2016-12-14 00:47:18 PST
On iOS, an element with tabindex ins't focusable unless there is a mouse event listener on it. <rdar://problem/10587484>
Attachments
Fixes the bug (11.20 KB, patch)
2016-12-14 00:54 PST, Ryosuke Niwa
koivisto: review+
Ryosuke Niwa
Comment 1 2016-12-14 00:54:00 PST
Created attachment 297071 [details] Fixes the bug
Ryosuke Niwa
Comment 2 2016-12-14 00:54:58 PST
Comment on attachment 297071 [details] Fixes the bug View in context: https://bugs.webkit.org/attachment.cgi?id=297071&action=review > Source/WebCore/page/ios/FrameIOS.mm:-264 > - ASSERT(!node->isInShadowTree() || node->containingShadowRoot()->mode() != ShadowRootMode::UserAgent); > - Sorry, Antti, I forgot to address your review comment in https://bugs.webkit.org/show_bug.cgi?id=165551#c18 so I'm fixing it here.
Ryosuke Niwa
Comment 3 2016-12-14 13:58:11 PST
Note You need to log in before you can comment on or make changes to this bug.