Summary: | Fix scrolling tree state for more obscure combinations of positioning and paint order | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||
Component: | New Bugs | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | koivisto, simon.fraser, webkit-bug-importer, zalan | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=198188 | ||||||
Attachments: |
|
Description
Simon Fraser (smfr)
2019-05-22 14:45:10 PDT
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. |