Bug 104195

Summary: [WK2][EFL] Gardening. Rebase fast/block/basic/020.html
Product: WebKit Reporter: KyungTae Kim <ktf.kim>
Component: WebKit EFLAssignee: KyungTae Kim <ktf.kim>
Status: RESOLVED FIXED    
Severity: Normal CC: kangil.han, lucas.de.marchi, ryuan.choi, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

KyungTae Kim
Reported 2012-12-05 17:37:12 PST
The layer for "visibility:hidden; position: absolute;" object should be shown in RenderLayer Tree when USE(ACCELERATED_COMPOSITING). It's because the HiddenLayers are included in zOrderList when CompositingMode is on. void RenderLayer::rebuildZOrderLists() { #if USE(ACCELERATED_COMPOSITING) bool includeHiddenLayers = compositor()->inCompositingMode(); // TRUE or FALSE by RenderLayerCompositor::m_compositing #else bool includeHiddenLayers = false; // Always FALSE -> other ports' case #endif for (RenderLayer* child = firstChild(); child; child = child->nextSibling()) if (!m_reflection || reflectionLayer() != child) child->collectLayers(includeHiddenLayers, m_posZOrderList, m_negZOrderList);
Attachments
Patch (3.09 KB, patch)
2012-12-05 17:50 PST, KyungTae Kim
no flags
KyungTae Kim
Comment 1 2012-12-05 17:50:30 PST
Kangil Han
Comment 2 2012-12-05 17:57:26 PST
(In reply to comment #0) > The layer for "visibility:hidden; position: absolute;" object should be shown in RenderLayer Tree when USE(ACCELERATED_COMPOSITING). > > It's because the HiddenLayers are included in zOrderList when CompositingMode is on. > > void RenderLayer::rebuildZOrderLists() > { > #if USE(ACCELERATED_COMPOSITING) > bool includeHiddenLayers = compositor()->inCompositingMode(); // TRUE or FALSE by RenderLayerCompositor::m_compositing > #else > bool includeHiddenLayers = false; // Always FALSE -> other ports' case > #endif > for (RenderLayer* child = firstChild(); child; child = child->nextSibling()) > if (!m_reflection || reflectionLayer() != child) > child->collectLayers(includeHiddenLayers, m_posZOrderList, m_negZOrderList); Love to know this! :)
Ryuan Choi
Comment 3 2012-12-05 18:05:43 PST
Comment on attachment 177890 [details] Patch I think that this is reasonable.
WebKit Review Bot
Comment 4 2012-12-05 18:37:18 PST
Comment on attachment 177890 [details] Patch Clearing flags on attachment: 177890 Committed r136786: <http://trac.webkit.org/changeset/136786>
WebKit Review Bot
Comment 5 2012-12-05 18:37:22 PST
All reviewed patches have been landed. Closing bug.
KyungTae Kim
Comment 6 2012-12-05 18:40:07 PST
(In reply to comment #2) > (In reply to comment #0) Just for reference) That code was originated from the bug 38829, fixing a bug that the first frame of the <video> was displayed even though the video has been set to hidden.
Note You need to log in before you can comment on or make changes to this bug.