W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2011

[whatwg] instantiating display:none plugins

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 2 Nov 2011 13:00:08 +1300
Message-ID: <CAOp6jLZBzjSa1SseeRyFRZ+B2f+2V_548s70VwhRKtiHfr-RhQ@mail.gmail.com>
One more thing. I added a "hide and show plugin with flush" test that sets
the plugin to display:none, causes a "layout flush" (by requesting
body.getBoundingClientRect()) and then sets the plugin back to
display:inline. On Firefox, Chrome and Opera this restarts the plugin
instance; on IE9 it doesn't. If you take out the flush, none of the
browsers restart the plugin.

I think this should just be considered a browser bug. We don't want to have
to specify the timing of style and layout flushing. (We'll fix this in
Firefox shortly.)

Rob
-- 
"If we claim to be without sin, we deceive ourselves and the truth is not
in us. If we confess our sins, he is faithful and just and will forgive us
our sins and purify us from all unrighteousness. If we claim we have not
sinned, we make him out to be a liar and his word is not in us." [1 John
1:8-10]
Received on Tuesday, 1 November 2011 17:00:08 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:37 UTC