This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GTK] Remove a focus ring on anchor node when focused by mouse.
https://bugs.webkit.org/show_bug.cgi?id=136121 Reviewed by Michael Catanzaro. Source/WebCore: Safari, Chrome and FF don't show a focus ring, the dotted rectangle on anchor node for mouse clicking. I think the behavior is reasonable and looks better. No reason for gtk & efl ports to keep the focus on anchor node. Of course, this change should not affect the focus ring for tab navigation. No new tests since an existing test can cover this. Tests: fast/events/click-focus-anchor.html * html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::isMouseFocusable): LayoutTests: Removed gtk and efl specific results for the test. * platform/efl/fast/events/click-focus-anchor-expected.txt: Removed. * platform/gtk/fast/events/click-focus-anchor-expected.txt: Removed. Canonical link: https://commits.webkit.org/171413@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@195447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 5 changed files with 30 additions and 25 deletions.