[Webkit-unassigned] [Bug 93314] DRT to dump text and pixels even if page is not fully loaded

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 7 20:01:24 PDT 2012


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





--- Comment #3 from Huang Dongsung <luxtella at company100.net>  2012-08-07 20:01:48 PST ---
(In reply to comment #2)
> The expected rendering result is the incomplete part becomes transparent. 

I understand now why you filed this bug.

> This should be tested on all platforms including gpu accelerated path.

Currently, gpu accelerated path has different policy between <image> and <div> including <image>.

In <image> case, gpu does not render image until image is loaded completely.

void RenderLayerBacking::updateImageContents()
{
    ...
    // We have to wait until the image is fully loaded before setting it on the layer.
    if (!cachedImage->isLoaded())
        return;

    // This is a no-op if the layer doesn't have an inner layer for the image.
    m_graphicsLayer->setContentsToImage(image);
    ....
}

However, in <div> including <image> case, gpu renders <image> via RenderLayerBacking::paintContents() even if the image is not loaded completely.

> I wrote a test with video-load-and-stall.cgi to simulate network loading behavior but because DRT has to wait for images to be "loaded" the test times out.

Very good!!

-- 
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