Changeset 243550 in webkit
- Timestamp:
- Mar 27, 2019, 11:06:49 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/scrollingcoordinator/mac/top-content-inset-to-zero-expected.html (added)
-
LayoutTests/scrollingcoordinator/mac/top-content-inset-to-zero.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r243549 r243550 1 2019-03-27 Simon Fraser <simon.fraser@apple.com> 2 3 REGRESSION (r242687): Fullscreen YouTube videos show blank white space at top 4 https://bugs.webkit.org/show_bug.cgi?id=196304 5 rdar://problem/49175760 6 7 Reviewed by Zalan Bujtas. 8 9 * scrollingcoordinator/mac/top-content-inset-to-zero-expected.html: Added. 10 * scrollingcoordinator/mac/top-content-inset-to-zero.html: Added. 11 1 12 2019-03-27 Shawn Roberts <sroberts@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r243539 r243550 1 2019-03-27 Simon Fraser <simon.fraser@apple.com> 2 3 REGRESSION (r242687): Fullscreen YouTube videos show blank white space at top 4 https://bugs.webkit.org/show_bug.cgi?id=196304 5 rdar://problem/49175760 6 7 Reviewed by Zalan Bujtas. 8 9 repositionRelatedLayers() should not short-circuit when topContentInset is zero, 10 because topContentInset might be changing from non-zero to zero, and then we need 11 to move layers around. 12 13 Test: scrollingcoordinator/mac/top-content-inset-to-zero.html 14 15 * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm: 16 (WebCore::ScrollingTreeFrameScrollingNodeMac::repositionRelatedLayers): 17 1 18 2019-03-26 Simon Fraser <simon.fraser@apple.com> 2 19 -
trunk/Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm
r242359 r243550 212 212 213 213 float topContentInset = this->topContentInset(); 214 if (m_insetClipLayer && m_rootContentsLayer && topContentInset) {214 if (m_insetClipLayer && m_rootContentsLayer) { 215 215 m_insetClipLayer.get().position = FloatPoint(m_insetClipLayer.get().position.x, FrameView::yPositionForInsetClipLayer(scrollPosition, topContentInset)); 216 216 m_rootContentsLayer.get().position = FrameView::positionForRootContentLayer(scrollPosition, scrollOrigin(), topContentInset, headerHeight());
Note:
See TracChangeset
for help on using the changeset viewer.