RESOLVED FIXED 157585
Moving focus by tab could erroneously focus a non-focusable shadow host
https://bugs.webkit.org/show_bug.cgi?id=157585
Summary Moving focus by tab could erroneously focus a non-focusable shadow host
Ryosuke Niwa
Reported 2016-05-11 13:46:51 PDT
There is a bug that when moving into an iframe by tab key press, we can end up focusing a non-focusable shadow-host, which is wrong.
Attachments
Fixes the bug (13.34 KB, patch)
2016-05-11 13:52 PDT, Ryosuke Niwa
koivisto: review+
buildbot: commit-queue-
Archive of layout-test-results from ews121 for ios-simulator-wk2 (645.03 KB, application/zip)
2016-05-11 14:52 PDT, Build Bot
no flags
Ryosuke Niwa
Comment 1 2016-05-11 13:52:55 PDT
Created attachment 278664 [details] Fixes the bug
Antti Koivisto
Comment 2 2016-05-11 13:57:57 PDT
Comment on attachment 278664 [details] Fixes the bug View in context: https://bugs.webkit.org/attachment.cgi?id=278664&action=review > Source/WebCore/page/FocusController.cpp:438 > + FocusNavigationScope outerScope = FocusNavigationScope::scopeOf(*owner); could use auto
Radar WebKit Bug Importer
Comment 3 2016-05-11 14:08:23 PDT
Ryosuke Niwa
Comment 4 2016-05-11 14:10:17 PDT
(In reply to comment #2) > Comment on attachment 278664 [details] > Fixes the bug > > View in context: > https://bugs.webkit.org/attachment.cgi?id=278664&action=review > > > Source/WebCore/page/FocusController.cpp:438 > > + FocusNavigationScope outerScope = FocusNavigationScope::scopeOf(*owner); > > could use auto Will fix. Thanks!
Build Bot
Comment 5 2016-05-11 14:52:56 PDT
Comment on attachment 278664 [details] Fixes the bug Attachment 278664 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/1305595 New failing tests: fast/shadow-dom/focus-on-iframe.html
Build Bot
Comment 6 2016-05-11 14:52:59 PDT
Created attachment 278669 [details] Archive of layout-test-results from ews121 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews121 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.4
Ryosuke Niwa
Comment 7 2016-05-11 15:41:33 PDT
Note You need to log in before you can comment on or make changes to this bug.