Title: [166382] trunk/Source/WebKit2
- Revision
- 166382
- Author
- benja...@webkit.org
- Date
- 2014-03-27 16:37:37 -0700 (Thu, 27 Mar 2014)
Log Message
[WK2][iOS] <rdar://problem/16414684> WKWebView should draw a white background before the page loads
https://bugs.webkit.org/show_bug.cgi?id=130873
Patch by Benjamin Poulain <bpoul...@apple.com> on 2014-03-27
Reviewed by Simon Fraser.
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView initWithFrame:configuration:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (166381 => 166382)
--- trunk/Source/WebKit2/ChangeLog 2014-03-27 23:23:37 UTC (rev 166381)
+++ trunk/Source/WebKit2/ChangeLog 2014-03-27 23:37:37 UTC (rev 166382)
@@ -1,5 +1,15 @@
2014-03-27 Benjamin Poulain <bpoul...@apple.com>
+ [WK2][iOS] <rdar://problem/16414684> WKWebView should draw a white background before the page loads
+ https://bugs.webkit.org/show_bug.cgi?id=130873
+
+ Reviewed by Simon Fraser.
+
+ * UIProcess/API/Cocoa/WKWebView.mm:
+ (-[WKWebView initWithFrame:configuration:]):
+
+2014-03-27 Benjamin Poulain <bpoul...@apple.com>
+
[iOS][WK2] Compute a good exposed rect when scaling WKContentView
https://bugs.webkit.org/show_bug.cgi?id=130761
Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm (166381 => 166382)
--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm 2014-03-27 23:23:37 UTC (rev 166381)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm 2014-03-27 23:37:37 UTC (rev 166382)
@@ -162,6 +162,7 @@
_scrollView = adoptNS([[WKScrollView alloc] initWithFrame:bounds]);
[_scrollView setInternalDelegate:self];
[_scrollView setBouncesZoom:YES];
+ [_scrollView setBackgroundColor:[UIColor whiteColor]];
[self addSubview:_scrollView.get()];
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes