[Webkit-unassigned] [Bug 10174] [S60] Black box shown instead of button in browser
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Tue Sep 19 09:17:53 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=10174
Zhaosong.Lu at nokia.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10648| |review?(zbujtas at gmail.com)
Flag| |
------- Comment #9 from Zhaosong.Lu at nokia.com 2006-09-19 09:17 PDT -------
Created an attachment (id=10648)
--> (http://bugzilla.opendarwin.org/attachment.cgi?id=10648&action=view)
More fix for the bug
My last fix did not completely fix the problem. I have added more change in
this patch.
Here is the problem. The web page has a submit button and the background of the
button is specified as 'none' by css. A QColor object for the 'none' is black
in color but the valid flag is set to false. During the 'convertion' of
KWQPalette to WebCorePalette, the valid flag info is lost because the
background color member in the WebCorePalette has only RGB value. At the time
of drawing the background of the button in the CFormButtonSkin, the black
background is drawn. That is why the button is black all the time. My changes
has added 'valid' flag information to the WebCorePalette so that the background
will be drawn according to the flag. If the flag indicates the background is
not valid (background is none), it will not be drawn.
Note to Zalan: There are tabs in the original file of WebCorePalette.h. I have
to remove those tabs in order to make the patch. So the file seems having
changed a lot. Actually it is not.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list