Bug 299741 - color palette of combobox's popup list issues
Summary: color palette of combobox's popup list issues
Alias: None
Product: konqueror
Classification: Applications
Component: khtml forms (show other bugs)
Version: 4.8.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
Depends on:
Reported: 2012-05-10 13:17 UTC by Andrea Iacovitti
Modified: 2012-05-10 19:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.8.4

testcase (4.30 KB, text/html)
2012-05-10 13:17 UTC, Andrea Iacovitti

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Iacovitti 2012-05-10 13:17:38 UTC
Created attachment 71000 [details]

There are some issues on how the combobox's popup list is renderered due to the applied color palette. Please load the testcase.

The second <SELECT> element specifies a transparent background, the list popup will also be rendered with transparent bg and this cause the option element on the list to be unreadable because they overlap with the underlying page content. This similar issue has already been resolved in case of combo styled with image brackground (see #170398).

The fourth combo is styled with yellow background. The background of its list popup is yellow but also the scrollbars will be painted with yellow color, unlike other browsers engine that renders the scrollbars with default system colors.
Comment 1 Andrea Iacovitti 2012-05-10 19:40:16 UTC
Git commit 9169e3286911f102dda285408ce003337967744b by Andrea Iacovitti.
Committed on 10/05/2012 at 21:28.
Pushed by aiacovitti into branch 'KDE/4.8'.

Combobox's listview popup colors:
- Use default system colors when combobox has transparent/image background
- Always use default system color for listview scrollbar
FIXED-IN: 4.8.4

M  +1    -3    khtml/css/html4.css
M  +16   -13   khtml/rendering/render_replaced.cpp