Bug 60169 - Add a test case that shows transparent windowless plugins are composited with the page's content
Summary: Add a test case that shows transparent windowless plugins are composited with...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Nobody
Keywords: InRadar, PlatformOnly
Depends on: 57647
  Show dependency treegraph
Reported: 2011-05-04 08:18 PDT by Adam Roben (:aroben)
Modified: 2022-02-11 13:45 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2011-05-04 08:18:55 PDT
Bug 57647 represented transparent windowless plugins being incorrectly composited with the page's content. I had trouble writing a test case but wanted to get the fix landed. This bug represents writing a test case.
Comment 1 Adam Roben (:aroben) 2011-05-04 08:24:20 PDT
Maybe my test case difficulties were caused by using GDI, which is not really alpha-aware.
Comment 2 Adam Roben (:aroben) 2011-05-04 09:58:22 PDT
Comment 3 Adam Roben (:aroben) 2011-05-05 14:36:09 PDT
Bug 60300 solves part of the mystery of why I couldn't get transparent plugins to show up.
Comment 4 Adam Roben (:aroben) 2011-05-05 14:36:49 PDT
Specifically, I was using ::GradientFill in my plugin, which zeroes out the alpha channel of the bitmap. Presumably I could have gotten the plugin to show up had I manually filled in the alpha channel with 1, or used ::AlphaBlend with a constant opacity.