[Webkit-unassigned] [Bug 30173] Make it possible to apply the CSS background color to the native painted widgets instead of to the actual element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 13 09:36:03 PDT 2009


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


Carol Szabo <carol.szabo at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41107|                            |review?
               Flag|                            |
  Attachment #40811|0                           |1
        is obsolete|                            |




--- Comment #9 from Carol Szabo <carol.szabo at nokia.com>  2009-10-13 09:36:03 PDT ---
Created an attachment (id=41107)
 --> (https://bugs.webkit.org/attachment.cgi?id=41107)
Proposed patch (limited changes)

This patch is the first attempt to fix this problem. It relies on Kenneth's
improvement of the PageClient interface to obtain the widget's palette. Kenneth
and I worked on this patch together.
This patch renders form controls in QtWebKit using the current Qt theme
(QtStyle) (i.e. gtk, plastique, clearlooks, cde, windows, etc). The palette
used for colors is that of the PageClient, except if the author of the page
alters the background color of the control, in which case that color is used
for the control's background in the palette, and for controls where the
foreground color is relevant, this color is used for the foreground.
Currently there are some themes such as gtk which ignore the palette most of
the time, and some others that selectively ignore it. When these themes are
selected the changes to the palette may have no effect (which is consistent
with the expectations for style from the HTML spec).
As Qt improves, more styles shall be more compliant with the requests made
through the palette.
Also, I have a subsequent patch planned to address background images and
anotherone for borders.
Currently text in controls where the text is rendered internally by WebKit is
not properly aligned, but this is a separate bug that I plan to address.

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