Bug 158127 - REGRESSION(r196222): Focus ring does not properly go away on anchor link
Summary: REGRESSION(r196222): Focus ring does not properly go away on anchor link
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-05-26 11:39 PDT by Joseph Pecoraro
Modified: 2022-10-08 12:14 PDT (History)
6 users (show)

See Also:


Attachments
[TEST] Reduction Test Page (300 bytes, text/html)
2016-05-26 11:59 PDT, Joseph Pecoraro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2016-05-26 11:39:02 PDT
* SUMMARY
Focus ring does not properly go away on anchor link.

* STEPS TO REPRODUCE
1. Open <http://perfectionkills.com/understanding-delete/#firebug_confusion>
2. Scroll up a bit so the full focus ring is visible (wrapping the "ยง" and title)
3. Click anywhere outside the link to remove the focus ring
  => pieces of the focus ring are still visible

Works in Safari 9.1.1, does not work in Safari Technology Preview Release 5.
Comment 1 Radar WebKit Bug Importer 2016-05-26 11:41:13 PDT
<rdar://problem/26498548>
Comment 2 Joseph Pecoraro 2016-05-26 11:49:49 PDT
Regressed with: r196222
http://trac.webkit.org/changeset/196222
Comment 3 Joseph Pecoraro 2016-05-26 11:59:58 PDT
Created attachment 279900 [details]
[TEST] Reduction Test Page

Attached a reduction. This seems to be detecting an <a> within an <h3> but the <a> is position absolute and so could be anywhere.
Comment 4 Joseph Pecoraro 2016-05-26 12:00:41 PDT
(In reply to comment #3)
> Created attachment 279900 [details]
> [TEST] Reduction Test Page
> 
> Attached a reduction. This seems to be detecting an <a> within an <h3> but
> the <a> is position absolute and so could be anywhere.

You may need to reload the page to reproduce the issue.
Comment 5 Ahmad Saleem 2022-10-08 12:14:45 PDT
I am able to reproduce this bug in Safari Technology Preview 155 using attached test case and in it, there is focus outline around "Not Focused Thing" as well while in case of other browsers (Chrome Canary 108 and Firefox Nightly 107), it is just limited to "Focused Thing".

Just wanted to update latest results. Thanks!