AX: when invert colors is on, double-invert image and picture elements in UserAgentSt...
[WebKit-https.git] / Source / WebCore / ChangeLog
index b3cf1a1..e3ba3a3 100644 (file)
@@ -1,3 +1,20 @@
+2018-01-19  James Craig  <jcraig@apple.com>
+
+        AX: when invert colors is on, double-invert image and picture elements in UserAgentStyleSheet
+        https://bugs.webkit.org/show_bug.cgi?id=181281
+        <rdar://problem/36291776>
+
+        Reviewed by Simon Fraser.
+
+        Updated "Smart Invert" to include img and picture element inversion and tests.
+
+        Tests: accessibility/smart-invert-reference.html
+               accessibility/smart-invert.html
+
+        * css/html.css:
+        (@media (inverted-colors)):
+        (img:not(picture>img), picture, video):
+
 2018-01-19  Chris Dumez  <cdumez@apple.com>
 
         The WebContent process should not process incoming IPC while waiting for a sync IPC reply