Title: [276641] trunk/Source/WebKit
- Revision
- 276641
- Author
- [email protected]
- Date
- 2021-04-27 09:18:58 -0700 (Tue, 27 Apr 2021)
Log Message
AX: Smart invert>Safari>images & other colors improperly invert
https://bugs.webkit.org/show_bug.cgi?id=225077
<rdar://problem/77176061>
Reviewed by Alan Bujtas.
The invert colors property is gathered during the screen data collection phase.
So properly update the value in WebCore, we need to resend these properties when
accessibility settings change.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::accessibilitySettingsDidChange):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (276640 => 276641)
--- trunk/Source/WebKit/ChangeLog 2021-04-27 15:34:44 UTC (rev 276640)
+++ trunk/Source/WebKit/ChangeLog 2021-04-27 16:18:58 UTC (rev 276641)
@@ -1,3 +1,18 @@
+2021-04-27 Chris Fleizach <[email protected]>
+
+ AX: Smart invert>Safari>images & other colors improperly invert
+ https://bugs.webkit.org/show_bug.cgi?id=225077
+ <rdar://problem/77176061>
+
+ Reviewed by Alan Bujtas.
+
+ The invert colors property is gathered during the screen data collection phase.
+ So properly update the value in WebCore, we need to resend these properties when
+ accessibility settings change.
+
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::accessibilitySettingsDidChange):
+
2021-04-27 Philippe Normand <[email protected]>
[Flatpak SDK] Direct AVIF loading does not work.
Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (276640 => 276641)
--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp 2021-04-27 15:34:44 UTC (rev 276640)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp 2021-04-27 16:18:58 UTC (rev 276641)
@@ -3840,6 +3840,8 @@
if (!hasRunningProcess())
return;
+ // Also update screen properties which encodes invert colors.
+ process().processPool().screenPropertiesStateChanged();
send(Messages::WebPage::AccessibilitySettingsDidChange());
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes