Title: [234246] branches/safari-606-branch/Source/WebKit
- Revision
- 234246
- Author
- [email protected]
- Date
- 2018-07-26 00:15:29 -0700 (Thu, 26 Jul 2018)
Log Message
Cherry-pick r234216. rdar://problem/42604537
Mask AVBackgroundView to the corner radius.
https://bugs.webkit.org/show_bug.cgi?id=187976
rdar://problem/41810866
Patch by Jeremy Jones <[email protected]> on 2018-07-25
Reviewed by Jon Lee.
This changes sets the appropriate mask to the layer so the corners look correct.
* UIProcess/ios/fullscreen/WKFullscreenStackView.mm:
(-[WKFullscreenStackView init]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-606-branch/Source/WebKit/ChangeLog (234245 => 234246)
--- branches/safari-606-branch/Source/WebKit/ChangeLog 2018-07-26 07:15:26 UTC (rev 234245)
+++ branches/safari-606-branch/Source/WebKit/ChangeLog 2018-07-26 07:15:29 UTC (rev 234246)
@@ -1,5 +1,36 @@
2018-07-25 Babak Shafiei <[email protected]>
+ Cherry-pick r234216. rdar://problem/42604537
+
+ Mask AVBackgroundView to the corner radius.
+ https://bugs.webkit.org/show_bug.cgi?id=187976
+ rdar://problem/41810866
+
+ Patch by Jeremy Jones <[email protected]> on 2018-07-25
+ Reviewed by Jon Lee.
+
+ This changes sets the appropriate mask to the layer so the corners look correct.
+
+ * UIProcess/ios/fullscreen/WKFullscreenStackView.mm:
+ (-[WKFullscreenStackView init]):
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2018-07-25 Jeremy Jones <[email protected]>
+
+ Mask AVBackgroundView to the corner radius.
+ https://bugs.webkit.org/show_bug.cgi?id=187976
+ rdar://problem/41810866
+
+ Reviewed by Jon Lee.
+
+ This changes sets the appropriate mask to the layer so the corners look correct.
+
+ * UIProcess/ios/fullscreen/WKFullscreenStackView.mm:
+ (-[WKFullscreenStackView init]):
+
+2018-07-25 Babak Shafiei <[email protected]>
+
Cherry-pick r234215. rdar://problem/42604541
REGRESSION(r227577) Text on TV & Movies page doesn't wrap properly in iTunes
Modified: branches/safari-606-branch/Source/WebKit/UIProcess/ios/fullscreen/WKFullscreenStackView.mm (234245 => 234246)
--- branches/safari-606-branch/Source/WebKit/UIProcess/ios/fullscreen/WKFullscreenStackView.mm 2018-07-26 07:15:26 UTC (rev 234245)
+++ branches/safari-606-branch/Source/WebKit/UIProcess/ios/fullscreen/WKFullscreenStackView.mm 2018-07-26 07:15:29 UTC (rev 234246)
@@ -60,6 +60,11 @@
_backgroundView = adoptNS([allocAVBackgroundViewInstance() initWithFrame:frame]);
[self addSubview:_backgroundView.get()];
+ // FIXME: remove this once AVBackgroundView handles this. https://bugs.webkit.org/show_bug.cgi?id=188022
+ [_backgroundView setClipsToBounds:YES];
+ [_backgroundView.get().layer setContinuousCorners:YES];
+ [_backgroundView.get().layer setCornerRadius:16];
+
return self;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes