2018-01-03 James Craig <jcraig@apple.com>
authorjcraig@apple.com <jcraig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Jan 2018 01:44:15 +0000 (01:44 +0000)
committerjcraig@apple.com <jcraig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Jan 2018 01:44:15 +0000 (01:44 +0000)
commit83e9dbb01470f4735cc0deb8e7b7723505375284
treefc9d6234231fe4a55667f19304e18ba8d6eefcd2
parent7dbe347e1afb0cd933a2ef0ba4c338ade59b2382
2018-01-03  James Craig  <jcraig@apple.com>

        AX: when invert colors is on, double-invert certain media elements in UserAgentStyleSheet
        https://bugs.webkit.org/show_bug.cgi?id=168447
        <rdar://problem/30559874>

        Reviewed by Simon Fraser.

        Double-invert video when platform 'invert colors' setting is enabled. Behavior matches
        current 'Smart Invert' feature of Safari Reader on macOS/iOS and other iOS native apps.

        Tests: accessibility/smart-invert-reference.html
               accessibility/smart-invert.html

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/accessibility/smart-invert-expected.txt [new file with mode: 0644]
LayoutTests/accessibility/smart-invert-reference-expected.html [new file with mode: 0644]
LayoutTests/accessibility/smart-invert-reference.html [new file with mode: 0644]
LayoutTests/accessibility/smart-invert.html [new file with mode: 0644]
LayoutTests/platform/ios-wk2/TestExpectations
LayoutTests/platform/mac-wk2/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/Modules/modern-media-controls/controls/media-controls.css
Source/WebCore/css/html.css