Summary: | [BlackBerry] Main frame fixed divs not positioned correctly | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Arvid Nilsson <anilsson> | ||||||||
Component: | WebKit BlackBerry | Assignee: | Arvid Nilsson <anilsson> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | andersca, anilsson, cgarcia, cmarcelo, jamesr, luiz, tonikitoo, webkit.review.bot, xan.lopez | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Arvid Nilsson
2013-03-21 02:16:43 PDT
The problem is that GraphicsLayer::isContainerForFixedPositionLayers() gets set to true for the main frame too, which I didn't anticipate. That makes sense though. I think the best fix is done in ScrollingCoordinatorBlackBerry.cpp which is not upstream yet, so closing this as invalid. What do you know, the ScrollingCoordinator was upstreamed the other day! Created attachment 195000 [details]
Patch
Created attachment 195001 [details]
Patch
Comment on attachment 195001 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=195001&action=review > Source/WebCore/page/scrolling/blackberry/ScrollingCoordinatorBlackBerry.cpp:39 > +static GraphicsLayer* scrollLayerForFrame(Frame* frame) This function is already implemented in the parent class and it's protected, so you can use it here instead of duplicating the code. > Source/WebCore/page/scrolling/blackberry/ScrollingCoordinatorBlackBerry.cpp:63 > + if (scrollLayerForFrame(m_page->mainFrame()) == layer) The class in ScrollingCoordinator is scrollLayerForFrameView, so you would need to pass m_page->mainFrame()->view() instead. Comment on attachment 195001 [details] Patch Attachment 195001 [details] did not pass win-ews (win): Output: http://webkit-commit-queue.appspot.com/results/17306331 Created attachment 195082 [details]
Patch
Comment on attachment 195082 [details]
Patch
Thanks cgarcia!
Comment on attachment 195082 [details] Patch Clearing flags on attachment: 195082 Committed r146885: <http://trac.webkit.org/changeset/146885> All reviewed patches have been landed. Closing bug. |