Summary: | display:none plugins cannot be accessed via script (disagrees with firefox) | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | ssseintr <ssseintr2> | ||||
Component: | Plug-ins | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED WONTFIX | ||||||
Severity: | Normal | CC: | ahmad.saleem792, ap, eric, mario.bensi, rniwa | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | 27775, 45049 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
ssseintr
2011-09-14 02:39:55 PDT
Created attachment 107313 [details]
Sample Script to Access Plugin Functionality from JS while it is styled with "display:none"
You should be able to use visibility:hidden without display:none for now. *** This bug has been marked as a duplicate of bug 27775 *** Hi, Thanks for your comment. But actually my intention is to remove the element from Layout. But, if I use "visibility:hidden" still the space is reserved for it. So it is not acceptable for my case. Currently thinking to implement RenderNone class, which does nothing for NONE style. Currently in RenderObject.cpp, RenderObject* createObject(Node*, RenderStyle*) method doesn't creating any Renderer and returns 0. So I would like to Implement RenderNone & it simply omits the drawing. Will it work..? Expecting your comment. Regards, Vicky hi all!!! Any updates..? please help me to fix this issue!!. regards, vicky. Interesting. Somehow FF's behavior is inconsistent with ours, despite not showing display: none plugins. NPAPI support is removed from Safari 14 onward and it is not supported in Webkit Builds like WebkitGTK as well. I think this can be marked as "RESOLVED WONTFIX". Thanks! Yup, won't fix. |