[webkit-help] Reg. Plugin Loading issue when "display: none".
ssseintr2 at gmail.com
Thu Oct 13 08:28:50 PDT 2011
>Do any other browsers do this? If not, this seems like a potential
Yes. Some of the browsers like ANT & Netfront supports plugin loading.with
>If you want to hide plugins visually bug still have them run I'd suggest
using visibility:hidden instead of >display:none.
Actually I'm not a web developer. Some web applications are authored to load
plugins with "display:none" to act as a audio player by implementing it's
GUI using HTML/JS/CSS.
On Wed, Oct 12, 2011 at 5:06 PM, Adam Roben <aroben at apple.com> wrote:
> On Oct 12, 2011, at 3:06 AM, Vicky Tux wrote:
> > Acutally I'm not a Web Developer. We are using webkit as part of our
> middle-ware. Some of the web applications authored to hide the plugin from
> layout as like below,
> > <div style="display: none;" >
> > <object type="application/x-plugin1" id="plugin1"></object>
> > <object type="application/x-plugin2" id="plugin2"></object>
> > </div>
> > Also those plugins are scripted from Java Script. In the above case
> webkit is doesn't initialize plugins if it's(or parent's) style is display :
> > Currently webkit's plugin initialization is based on RenderTree not
> DOMTree. To fix this issue I thinking to implement a RenderNone class(as
> like RenderBlock,RenderInline,..etc) which paints nothing but just acts as a
> container for child elements.
> > But i don't have any idea of RenderTree. Currently implementing
> RenderNone based on RenderBlock & RenderInline.
> > Will it work..? any suggestions..?
> Do any other browsers do this? If not, this seems like a potential
> compatibility issue.
> If you want to hide plugins visually bug still have them run I'd suggest
> using visibility:hidden instead of display:none.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-help