Title: [214511] trunk/Source/WebKit2
Revision
214511
Author
[email protected]
Date
2017-03-28 18:14:49 -0700 (Tue, 28 Mar 2017)

Log Message

Stop overriding scroll view inset defaults
https://bugs.webkit.org/show_bug.cgi?id=170221
<rdar://problem/31260325>

Reviewed by Simon Fraser.

* Platform/spi/ios/UIKitSPI.h:
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _initializeWithConfiguration:]):
The default behavior is sufficient for us.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (214510 => 214511)


--- trunk/Source/WebKit2/ChangeLog	2017-03-29 01:00:09 UTC (rev 214510)
+++ trunk/Source/WebKit2/ChangeLog	2017-03-29 01:14:49 UTC (rev 214511)
@@ -1,5 +1,18 @@
 2017-03-28  Timothy Horton  <[email protected]>
 
+        Stop overriding scroll view inset defaults
+        https://bugs.webkit.org/show_bug.cgi?id=170221
+        <rdar://problem/31260325>
+
+        Reviewed by Simon Fraser.
+
+        * Platform/spi/ios/UIKitSPI.h:
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        (-[WKWebView _initializeWithConfiguration:]):
+        The default behavior is sufficient for us.
+
+2017-03-28  Timothy Horton  <[email protected]>
+
         Safari crashes when attempting to close tab that is displaying PDF
         https://bugs.webkit.org/show_bug.cgi?id=170201
         <rdar://problem/31242019>

Modified: trunk/Source/WebKit2/Platform/spi/ios/UIKitSPI.h (214510 => 214511)


--- trunk/Source/WebKit2/Platform/spi/ios/UIKitSPI.h	2017-03-29 01:00:09 UTC (rev 214510)
+++ trunk/Source/WebKit2/Platform/spi/ios/UIKitSPI.h	2017-03-29 01:14:49 UTC (rev 214511)
@@ -316,7 +316,6 @@
 @property (nonatomic) CGFloat verticalScrollDecelerationFactor;
 @property (nonatomic, readonly) BOOL _isInterruptingDeceleration;
 #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000
-@property (nonatomic, setter=_setEdgesScrollingContentIntoSafeArea:) UIRectEdge _edgesScrollingContentIntoSafeArea;
 @property (nonatomic, readonly) UIEdgeInsets _systemContentInset;
 #endif
 @end

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm (214510 => 214511)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm	2017-03-29 01:00:09 UTC (rev 214510)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm	2017-03-29 01:14:49 UTC (rev 214511)
@@ -509,10 +509,6 @@
     [_scrollView setInternalDelegate:self];
     [_scrollView setBouncesZoom:YES];
 
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
-    [_scrollView _setEdgesScrollingContentIntoSafeArea:UIRectEdgeAll];
-#endif
-
     [self addSubview:_scrollView.get()];
 
     static uint32_t programSDKVersion = dyld_get_program_sdk_version();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to