RESOLVED DUPLICATE of bug 98144 Bug 96584
Logic to not composite fixed elements outside the viewport is wrong
https://bugs.webkit.org/show_bug.cgi?id=96584
Summary Logic to not composite fixed elements outside the viewport is wrong
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.