WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
104195
[WK2][EFL] Gardening. Rebase fast/block/basic/020.html
https://bugs.webkit.org/show_bug.cgi?id=104195
Summary
[WK2][EFL] Gardening. Rebase fast/block/basic/020.html
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
KyungTae Kim
Comment 1
2012-12-05 17:50:30 PST
Created
attachment 177890
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug