[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:19:51 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=58414
--- Comment #27 from Vangelis Kokkevis <vangelis at chromium.org> 2011-04-19 10:19:50 PST ---
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.
--
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