To reproduce: Navigate to the URL. When the video loads, click the play button.
Result: The video gets a focus ring around it, but it shouldn’t.
Notes: This happens with many videos at apple.com.
Caused by <http://trac.webkit.org/r104303>, the fix for bug 75650.
I believe the actual regression for this is <http://trac.webkit.org/changeset/95381>, the fix for bug #67190. In that bug, HTMLMediaElements were explicitly made focusable. The fix for bug #75650 unmasked this behavior.
It looks like we can make the HTMLMediaElement non-mouse focusable without breaking keyboard focus (ala bug #67190) by overriding Node::isMouseFocusable().
Created attachment 125387 [details]
Comment on attachment 125387 [details]
Rejecting attachment 125387 [details] from commit-queue.
Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2
Last 500 characters of output:
Hunk #1 FAILED at 336.
1 out of 1 hunk FAILED -- saving rejects to file Source/WebCore/html/HTMLMediaElement.h.rej
patching file LayoutTests/ChangeLog
Hunk #1 succeeded at 1 with fuzz 3.
patching file LayoutTests/media/video-mouse-focus-expected.txt
patching file LayoutTests/media/video-mouse-focus.html
Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Darin Adler']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue/
Full output: http://queues.webkit.org/results/11442046
Doing this one manually...
Committed r106876: <http://trac.webkit.org/changeset/106876>