[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
Thu Apr 14 12:20:31 PDT 2011


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





--- Comment #11 from Antoine Labour <piman at chromium.org>  2011-04-14 12:20:30 PST ---
I did confirm that RenderObject are currently created for iframes inside of invisible iframes.

The approach I was going to take is to somehow cache the inRenderTree result in the HTMLFrameOwnerElement: when creating a renderer, check the conditions, and check the parent. If the bit changes, propagate downwards if needed. Same when destroying the renderer. Propagating downwards is the slightly tricky bit, but I think I can do it by having the HTMLFrameOwnerElement register themselves to their parent HTMLFrameOwnerElement (if any) when they start caring about it, so that the parent doesn't have to go through all the DOM. Working on a patch right now.

I'm very new to all that code, so if avoiding creating RenderObjects in invisible iframes is desirable and won't cause bad side effects, then I'm happy to take that road instead.

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