0dfb19cdf2
https://bugs.webkit.org/show_bug.cgi?id=227545 Reviewed by Alan Bujtas. Source/WebCore: The code to ensure that overflow:scroll scrollbars appeared on top of composited descendant layers had incorrect behavior if the only descendant had negative z-index; it would move the overflow controls container layer to be after that descendant, and thus behind foreground content. Fix by inserting the overflow controls container layer in front of the frontmost of the descendant and the scroller itself. Test: compositing/scrolling/async-overflow-scrolling/negative-z-in-scroller-hidden-scrollbar.html * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::adjustOverflowScrollbarContainerLayers): LayoutTests: * compositing/scrolling/async-overflow-scrolling/layer-for-negative-z-in-scroller-expected.txt: Rebaseline * compositing/scrolling/async-overflow-scrolling/negative-z-in-scroller-hidden-scrollbar-expected.html: Added. * compositing/scrolling/async-overflow-scrolling/negative-z-in-scroller-hidden-scrollbar.html: Added. Canonical link: https://commits.webkit.org/239524@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279748 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
async-overflow-scrolling | ||
fixed-inside-scroll-expected.html | ||
fixed-inside-scroll.html | ||
overflow-scrolling-layers-are-self-painting-expected.txt | ||
overflow-scrolling-layers-are-self-painting.html | ||
touch-scroll-to-clip-expected.txt | ||
touch-scroll-to-clip.html | ||
touch-scrolling-repaint-expected.html | ||
touch-scrolling-repaint-spans-expected.html | ||
touch-scrolling-repaint-spans.html | ||
touch-scrolling-repaint.html |