[Webkit-unassigned] [Bug 28914] Add a test for iframe shims and windowed plugin

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 3 13:37:07 PDT 2009


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


Ojan Vafai <ojan at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ojan at chromium.org,
                   |                            |tulrich at google.com




--- Comment #9 from Ojan Vafai <ojan at chromium.org>  2009-09-03 13:37:06 PDT ---
iframe-shims are a fairly common hack to get around z-ordering issues with
windowed plugins. For example, for a menu that needs to overlay on top of
windowed flash. Since on Windows, windowed plugins are in their own HWND, they
don't respect z-index and go on top of the menu. Iframes in IE/FF historically
have been implemented using an HWND, so if you put an iframe behind the menu,
it will block the paint of the plugin and allow your menu to show on top.

A google search for iframe shim shows a lot of hits for this sort of thing. For
a real-world example, look at any html dialog in any Google product (e.g.
gmail, docs, etc.).

Thatcher added support for this behavior to Chromium by clipping plugins when
there's an iframe above them. There's a FIXME to move that logic into
platform-agnostic code. This is the layout-test for that behavior (matches IE).

I don't remember the details, but I think making it platform-agnostic was
non-trivial, which is why it wasn't done that way to start with.

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