[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
Wed Aug 8 09:05:37 PDT 2012


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





--- Comment #4 from Hin-Chung Lam <hclam at google.com>  2012-08-08 09:05:59 PST ---
> 
> 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.
> 

This code path is rare. Only if a <img> is accelerated composited that this code path will be used, e.g. 3D CSS on the element.

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