[Webkit-unassigned] [Bug 140610] [GTK] Add API to change the WebKitWebView background color

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 19 02:10:20 PST 2015


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

Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #244887|                            |review?
              Flags|                            |

--- Comment #1 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Created attachment 244887
  --> https://bugs.webkit.org/attachment.cgi?id=244887&action=review
Patch

I've tried to check the actual rendering in the unit tests using different approaches but none of the actually worked. We can't use snapshots, because the background is rendered in the UI process by the backing store, and snapshots are rendered in an image surface without using the backing store. I also tried to use a GtkOffscreenWindow, but it uses xlib surfaces than when rendered into an image surface can't be compared at pixel level with an image surface manually filled. So, in the end I added a --bg-color command line option to MiniBrowser that can be used to manually tested. You can pass any value that can be parsed by gdk_rgba_parse().

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150119/2ff64e99/attachment-0002.html>


More information about the webkit-unassigned mailing list