RESOLVED WONTFIX 119368
REGRESSION: Click on focused link removes focus
https://bugs.webkit.org/show_bug.cgi?id=119368
Summary REGRESSION: Click on focused link removes focus
Ryosuke Niwa
Reported 2013-07-31 18:42:08 PDT
Merge https://chromium.googlesource.com/chromium/blink/+/71060ded1efe47f78aeb5093975242c5621a9513 This is a regression by wkrev.com/72796. The first isMouseFocusable call in EventHandler::dispatchMouseEvent should be isFocusable because we need to do different things for focusable-but-non-mouse-focusable elements. Also fix wrong usage of isMouseFocusable in text shadow elements and SVG elements. In general isFocusable must return true whenever isMouseFocusable is true. Some layout tests fail without these changes.
Attachments
Test (251 bytes, text/html)
2022-09-05 22:56 PDT, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2013-07-31 18:42:22 PDT
What steps will reproduce the problem? 1. Open data:text/html,<input autofocus><a href="#start" onclick="return false">Link</a> 2. Press TAB key once 3. Click on the focused link What is the expected output? What do you see instead? Expected: The link keeps focus. Actual: The link looses focus. Please use labels and text to provide additional information. Regression by http://trac.webkit.org/changeset/72796.
Ryosuke Niwa
Comment 2 2013-07-31 18:42:38 PDT
Radar WebKit Bug Importer
Comment 3 2013-07-31 18:42:58 PDT
Ahmad Saleem
Comment 4 2022-09-04 15:28:03 PDT
I think at SVG2 changed things slightly and we followed this: https://github.com/WebKit/WebKit/commit/b84ee93b9aab347ef4152cba6622c4e16f560c30 Just sharing updated context. Thanks!
Ryosuke Niwa
Comment 5 2022-09-05 22:56:50 PDT
Ryosuke Niwa
Comment 6 2022-09-08 11:52:39 PDT
This is won't fix at this point. WebKit's focusing support has been updated numerous times since this patch was written.
Note You need to log in before you can comment on or make changes to this bug.