[webkit-help] webkit-help Digest, Vol 28, Issue 12

Vicky Tux ssseintr2 at gmail.com
Wed Oct 12 00:06:19 PDT 2011


Hi,

Sorry for not explaining my context.

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 : none.

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


On Tue, Oct 11, 2011 at 7:30 PM, Justin Thomas <justin at sweaky.com> wrote:

>
> If your intentions are having it not interfere with layout, can you not
> just get away with an html/css workaround?
>
> 1. set width/height to 0 (or even 1x1) and visibility:hidden
> 2. set position absolute with negative z-index and visibility
> 3. embed in a iframe
>
> or any combination of the above...
>
> -JT
>
> On 10/11/2011 1:59 AM, Vicky Tux wrote:
> > hi all,
> >
> > any one have solution for https://bugs.webkit.org/show_bug.cgi?id=68072
> >
> > regards,
> > vicky.
> >
> >
> >
> > _______________________________________________
> > webkit-help mailing list
> > webkit-help at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.webkit.org/pipermail/webkit-help/attachments/20111011/07d93d76/attachment-0001.html
> >
>
> ------------------------------
>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>
>
> End of webkit-help Digest, Vol 28, Issue 12
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20111012/a7bbc1a5/attachment-0001.html>


More information about the webkit-help mailing list