[Webkit-unassigned] [Bug 27775] Hiding a <div> by using CSS display:None causes a plug-in within the div to be unloaded losing state.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 21 05:37:54 PST 2011


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


Michaël Burtin <mburtin at connected-labs.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mburtin at connected-labs.com




--- Comment #9 from Michaël Burtin <mburtin at connected-labs.com>  2011-01-21 05:37:53 PST ---
I plan to work on this bug to provide a patch but as I may not be able to do this without your hints, suggestions and recommendations on how to get plugin code out of rendering tree.

According to current HTML5 spec, plugin life-cycle should not be affected by CSS properties (on embed, object and applet elements).
http://dev.w3.org/html5/spec/Overview.html#dfnReturnLink-44
"The embed element is unaffected by the CSS 'display' property. The selected plugin is instantiated even if the element is hidden with a 'display:none' CSS style."
http://dev.w3.org/html5/spec/Overview.html#dfnReturnLink-156
"The above algorithm is independent of CSS properties (including 'display', 'overflow', and 'visibility'). For example, it runs even if the element is hidden with a 'display:none' CSS style, and does not run again if the element's visibility changes."
http://dev.w3.org/html5/spec/Overview.html#the-applet-element
"The applet element is unaffected by the CSS 'display' property. The Java Language runtime is instantiated even if the element is hidden with a 'display:none' CSS style."

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