[webkit-dev] Background color issue

Xiong browserwk at gmail.com
Mon Apr 27 02:19:29 PDT 2009


Dear all,

I am working webkit over directfb backend on arm platform - using
GtkLauncher.

The problem I face is that the background color of loading image is always
WHITE, i am really want to be BLACK.

BTW:
I use the gtk_widget_modify_bg() to change color of GTKWINDOW and
WebKitWebView,
but it looks like valueless.

Also, i connect to "expose-event" signal for WebKitWebView and setting the
background color in following code:
[
cairo_set_source_rgb(cr, 0, 0, 0);
cairo_paint(cr);
]
This way was failed also.

The Gtk+ API does not change the background color, so may be the webkit
kernel do something i think.

Any ideas where to look to fix this issue ?

Appreciate any clues~

-Xiong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090427/44efcd52/attachment.html>


More information about the webkit-dev mailing list