[Webkit-unassigned] [Bug 58414] Style change in invisible iframes can cause accelerated content to disappear

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 19 10:28:33 PDT 2011


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


Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #28 from Simon Fraser (smfr) <simon.fraser at apple.com>  2011-04-19 10:28:32 PST ---
(In reply to comment #27)
> What if we modify RenderLayerCompositor::shouldPropagateCompositingToEnclosingIFrame() and return true when (ownerElement != NULL) && (renderer == NULL)  (modulo whatever special treatment needs to happen on the mac)? 
> 
> That won't disturb the existing compositor's root layer if an enclosed iframe doesn't have a renderer (e.g. hidden) which seems to be the root of the issue here.
> 
> The only side-effect appears to be that if the enclosed iframe would have triggered the compositor, we would propagate compositing up to the parent even if the iframe is hidden.  I wouldn't think that would be a big issue though.
> 
> A local patch of this change seems to be work fine.

I think that's a safer approach.

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