[webkit-dev] transparent
Mike Reed
mikerreed at gmail.com
Tue Jan 16 18:08:40 PST 2007
Thanks Darin, I'll take a look.
On 1/16/07, Darin Adler <darin at apple.com> wrote:
> On Jan 16, 2007, at 12:27 PM, Mike Reed wrote:
>
> > I'm trying to have a webpage draw with no bg, so I can place it
> > over a predetermined image (or none at all). I tried
> > FrameView::setTransparent(true), but that didn't seem to have any
> > effect. Any pointers? Is this related to printing?
>
> The code that does this on Mac OS X WebKit starts in -[WebView
> setDrawsBackground:]. I'm not sure what all it ends up doing, but it
> shouldn't be too hard to follow that code around and see what ends up
> happening at the WebCore level.
>
> Like many things in WebKit, much of the logic could probably be moved
> down into WebCore so it could be used on additional platforms.
>
> -- Darin
>
>
More information about the webkit-dev
mailing list