Bug 115060

Summary: Don't create compositing layers for sticky position unless using the ScrollingCoordinator
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, esprehn+autocc, simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+

Simon Fraser (smfr)
Reported 2013-04-23 14:23:06 PDT
Don't create compositing layers for sticky position unless using the ScrollingCoordinator
Attachments
Patch (10.37 KB, patch)
2013-04-23 14:25 PDT, Simon Fraser (smfr)
thorton: review+
Simon Fraser (smfr)
Comment 1 2013-04-23 14:25:44 PDT
Tim Horton
Comment 2 2013-04-23 14:28:57 PDT
Comment on attachment 199325 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=199325&action=review > Source/WebCore/rendering/RenderLayerCompositor.cpp:2193 > + if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator()) > + compositeSticky = scrollingCoordinator->coordinatesScrollingForFrameView(m_renderView->frameView()); > + return compositeSticky; The same logic exists in other places (shouldCompositeOverflowControls, for one). Should we maybe factor it out?
Simon Fraser (smfr)
Comment 3 2013-04-23 15:00:39 PDT
Note You need to log in before you can comment on or make changes to this bug.