Title: [284625] trunk/Source/WebKit
- Revision
- 284625
- Author
- [email protected]
- Date
- 2021-10-21 10:58:55 -0700 (Thu, 21 Oct 2021)
Log Message
[iOS] Zooming out should use the page's background color instead of fading
https://bugs.webkit.org/show_bug.cgi?id=232036
<rdar://problem/81926190>
Reviewed by Tim Horton.
* UIProcess/API/ios/WKWebViewIOS.mm:
(scrollViewBackgroundColor):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (284624 => 284625)
--- trunk/Source/WebKit/ChangeLog 2021-10-21 17:55:14 UTC (rev 284624)
+++ trunk/Source/WebKit/ChangeLog 2021-10-21 17:58:55 UTC (rev 284625)
@@ -1,3 +1,14 @@
+2021-10-21 Devin Rousso <[email protected]>
+
+ [iOS] Zooming out should use the page's background color instead of fading
+ https://bugs.webkit.org/show_bug.cgi?id=232036
+ <rdar://problem/81926190>
+
+ Reviewed by Tim Horton.
+
+ * UIProcess/API/ios/WKWebViewIOS.mm:
+ (scrollViewBackgroundColor):
+
2021-10-21 John Pascoe <[email protected]>
Followup: Fix crash when calling setUsernameForLocalCredentialWithID
Modified: trunk/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm (284624 => 284625)
--- trunk/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm 2021-10-21 17:55:14 UTC (rev 284624)
+++ trunk/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm 2021-10-21 17:58:55 UTC (rev 284625)
@@ -527,14 +527,6 @@
#endif
}
- CGFloat zoomScale = contentZoomScale(webView);
- CGFloat minimumZoomScale = [webView->_scrollView minimumZoomScale];
- if (zoomScale < minimumZoomScale) {
- CGFloat slope = 12;
- CGFloat opacity = std::max<CGFloat>(1 - slope * (minimumZoomScale - zoomScale), 0);
- color = color.colorWithAlpha(opacity);
- }
-
return color;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes