Bug 96584

Summary: Logic to not composite fixed elements outside the viewport is wrong
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Xianzhu Wang <wangxianzhu>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bdakin, jamesr, wangxianzhu
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase
none
A working test case none

Simon Fraser (smfr)
Reported 2012-09-12 17:49:22 PDT
Created attachment 163746 [details] Testcase RenderLayerCompositor::requiresCompositingForPosition() has: FrameView* frameView = m_renderView->frameView(); if (frameView && !layer->absoluteBoundingBox().intersects(IntRect(IntPoint(frameView->scrollOffsetForFixedPosition()), frameView->layoutSize()))) return false; This is incorrect, since the fixed element may have abs pos children that lie outside its bounds, but they can be visible in the viewport.
Attachments
Testcase (1.12 KB, text/html)
2012-09-12 17:49 PDT, Simon Fraser (smfr)
no flags
A working test case (1.20 KB, text/html)
2012-09-13 15:36 PDT, Xianzhu Wang
no flags
Xianzhu Wang
Comment 1 2012-09-13 15:36:16 PDT
Created attachment 163983 [details] A working test case
Xianzhu Wang
Comment 2 2012-10-02 08:53:29 PDT
*** This bug has been marked as a duplicate of bug 98144 ***
Note You need to log in before you can comment on or make changes to this bug.