Title: [227818] branches/safari-605-branch/Source/WebCore
- Revision
- 227818
- Author
- [email protected]
- Date
- 2018-01-30 10:50:56 -0800 (Tue, 30 Jan 2018)
Log Message
Cherry-pick r227686. rdar://problem/37019446
Modified Paths
Diff
Modified: branches/safari-605-branch/Source/WebCore/ChangeLog (227817 => 227818)
--- branches/safari-605-branch/Source/WebCore/ChangeLog 2018-01-30 18:50:54 UTC (rev 227817)
+++ branches/safari-605-branch/Source/WebCore/ChangeLog 2018-01-30 18:50:56 UTC (rev 227818)
@@ -1,5 +1,23 @@
2018-01-30 Jason Marcell <[email protected]>
+ Cherry-pick r227686. rdar://problem/37019446
+
+ 2018-01-26 Antoine Quint <[email protected]>
+
+ [iOS] prefers-reduced-motion media query is not working
+ https://bugs.webkit.org/show_bug.cgi?id=182169
+ <rdar://problem/36801631>
+
+ Reviewed by Dean Jackson.
+
+ The code that would eventually query UIKit for the system setting was not run since USE(NEW_THEME) is off on iOS.
+ Adding a PLATFORM(IOS) flag here allows the code to run.
+
+ * css/MediaQueryEvaluator.cpp:
+ (WebCore::prefersReducedMotionEvaluate):
+
+2018-01-30 Jason Marcell <[email protected]>
+
Cherry-pick r227680. rdar://problem/37019528
2018-01-26 Youenn Fablet <[email protected]>
Modified: branches/safari-605-branch/Source/WebCore/css/MediaQueryEvaluator.cpp (227817 => 227818)
--- branches/safari-605-branch/Source/WebCore/css/MediaQueryEvaluator.cpp 2018-01-30 18:50:54 UTC (rev 227817)
+++ branches/safari-605-branch/Source/WebCore/css/MediaQueryEvaluator.cpp 2018-01-30 18:50:56 UTC (rev 227818)
@@ -722,7 +722,7 @@
case Settings::ForcedAccessibilityValue::Off:
break;
case Settings::ForcedAccessibilityValue::System:
-#if USE(NEW_THEME)
+#if USE(NEW_THEME) || PLATFORM(IOS)
userPrefersReducedMotion = Theme::singleton().userPrefersReducedMotion();
#endif
break;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes