AX: FKA: Buttons need a visible focus indicator
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Jul 2017 10:00:33 +0000 (10:00 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Jul 2017 10:00:33 +0000 (10:00 +0000)
commitbb358c76abfa98c334e8458217c3c45be2e58e4e
treeb5328b38031fe6b4a6976929314dc8ac5fd2ae79
parent7609d048958b16fe6837f1d4d6204a97ee5c9e34
AX: FKA: Buttons need a visible focus indicator
https://bugs.webkit.org/show_bug.cgi?id=171040
<rdar://problem/30922548>

Patch by Aaron Chu <aaron_chu@apple.com> on 2017-07-29
Reviewed by Antoine Quint.

Source/WebCore:

Added a background color for the focus state of the icon buttons in modern media controls.

Test: media/modern-media-controls/button/button-focus-state.html

* Modules/modern-media-controls/controls/button.css:
(button:focus):
(button:focus > picture):
* Modules/modern-media-controls/controls/slider.css:
(.slider > input):

LayoutTests:

* media/modern-media-controls/button/button-focus-state-expected.txt: Added.
* media/modern-media-controls/button/button-focus-state.html: Added.
* platform/ios-simulator/TestExpectations:
* platform/mac-elcapitan/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/modern-media-controls/button/button-focus-state-expected.txt [new file with mode: 0644]
LayoutTests/media/modern-media-controls/button/button-focus-state.html [new file with mode: 0644]
LayoutTests/platform/ios-simulator/TestExpectations
LayoutTests/platform/mac-elcapitan/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/Modules/modern-media-controls/controls/button.css
Source/WebCore/Modules/modern-media-controls/controls/slider.css