Fix scrolling tree state for more obscure combinations of positioning and paint order
Created attachment 370447 [details] Patch
Comment on attachment 370447 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=370447&action=review > Source/WebCore/rendering/RenderLayerCompositor.cpp:1800 > +// This is a simplified version of containing block walking that only handles absolute position. > +static AncestorTraversal traverseAncestorLayers(const RenderLayer& layer, const WTF::Function<AncestorTraversal(const RenderLayer&, bool inContainingBlockChain, bool isPaintOrderAncestor)>& ancestorFunc) Using template argument instead of WTF::Function would avoid unnecessary virtual function calls.
https://trac.webkit.org/r245656
<rdar://problem/51046303>