[Webkit-unassigned] [Bug 92492] [Texmap] Remove the backing store after 'style.visibility' for an element sets 'hidden'.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 27 05:08:07 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=92492





--- Comment #3 from Huang Dongsung <luxtella at company100.net>  2012-07-27 05:08:10 PST ---
Currently, chromium port handles m_contentsVisible like m_drawsContent.

void GraphicsLayerChromium::updateLayerIsDrawable()
{
    // For the rest of the accelerated compositor code, there is no reason to make a
    // distinction between drawsContent and contentsVisible. So, for m_layer, these two
    // flags are combined here. m_contentsLayer shouldn't receive the drawsContent flag
    // so it is only given contentsVisible.

    m_layer.setDrawsContent(m_drawsContent && m_contentsVisible);

    if (!m_contentsLayer.isNull())
        m_contentsLayer.setDrawsContent(m_contentsVisible);

    if (m_drawsContent)
        m_layer.invalidate();

    updateDebugIndicators();
}

Some web developers think visibility:hidden causes to save the texture memory.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list