Changeset 246407 in webkit
- Timestamp:
- Jun 13, 2019 11:36:03 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r246406 r246407 1 2019-06-13 Antti Koivisto <antti@apple.com> 2 3 twitch.tv: embedded video hovers down the screen when scrolling on iPad 4 https://bugs.webkit.org/show_bug.cgi?id=198832 5 <rdar://problem/51541439> 6 7 Reviewed by Simon Fraser. 8 9 * compositing/scrolling/async-overflow-scrolling/overflow-scroll-paint-order-sibling-expected.html: Added. 10 * compositing/scrolling/async-overflow-scrolling/overflow-scroll-paint-order-sibling.html: Added. 11 1 12 2019-06-13 Youenn Fablet <youenn@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r246405 r246407 1 2019-06-13 Antti Koivisto <antti@apple.com> 2 3 twitch.tv: embedded video hovers down the screen when scrolling on iPad 4 https://bugs.webkit.org/show_bug.cgi?id=198832 5 <rdar://problem/51541439> 6 7 Reviewed by Simon Fraser. 8 9 Test: compositing/scrolling/async-overflow-scrolling/overflow-scroll-paint-order-sibling.html 10 11 * rendering/RenderLayer.cpp: 12 (WebCore::RenderLayer::scrollTo): 13 14 Overflow scroll layer may have composited descendants that are its paint order siblings. We need to invalidate 15 the tree of the paint order parent for compositing update (instead of just the tree of the overflow scroll layer). 16 17 This matches what RenderLayer::updateLayerPosition() does. 18 1 19 2019-06-13 Youenn Fablet <youenn@apple.com> 2 20 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r246285 r246407 2516 2516 if (usesCompositedScrolling()) { 2517 2517 setNeedsCompositingGeometryUpdate(); 2518 setDescendantsNeedUpdateBackingAndHierarchyTraversal(); 2518 2519 // Scroll position can affect the location of a composited descendant (which may be a sibling in z-order), 2520 // so trigger a descendant walk from the paint-order parent. 2521 if (auto* paintParent = paintOrderParent()) 2522 paintParent->setDescendantsNeedUpdateBackingAndHierarchyTraversal(); 2519 2523 } 2520 2524
Note: See TracChangeset
for help on using the changeset viewer.