Bug 1317542 - Dropdown selects do not respect style
Summary: Dropdown selects do not respect style
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: webkitgtk4
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Popela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-14 13:53 UTC by Štefan Gurský
Modified: 2016-11-25 17:28 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-11-25 17:28:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
WebKit Project 165072 0 None None None 2016-11-25 17:28:56 UTC

Description Štefan Gurský 2016-03-14 13:53:52 UTC
Description of problem:
When <select> item is styled, the dropdown does not respect that style for background and it can be hard to read selected value, since text color is respected. See the example code:

<style>
select {color:#F8F8F8;
        background:#000000;}
</style>
<select>
<option>Foo</option>
<option>Bar</option>
</select>

In epiphany it is very hard to see what exactly is selected since it shows light gray (F8F8F8) text on gray background (default for form controls).

Also when the drop down is opened, it is not styled at all.

Version-Release number of selected component (if applicable):
Name        : epiphany
Epoch       : 1
Version     : 3.18.4
Release     : 1.fc23
Architecture: x86_64

Steps to Reproduce:
1. Open the code above in epiphany
2. Try reading what item is selected

Actual results:
The text is hard to read.

Expected results:
Drop down menu styled as described in the code. Also styled when it is actually open (see firefox rendering of the code).

Additional info:
It would be more obvious with text color closer to gray used in form but this should be enough to demonstrate the problem.

Comment 1 Michael Catanzaro 2016-04-26 00:08:58 UTC
Testing WebKit trunk (which should be the same as 2.12.2) I see the text is black now, after r199659. The text color is now also taken from Adwaita.

I think this is probably wrong though; probably the style specified in the HTML ought to override the GTK+ theme. The trick is that we don't want the page to be able to override one color but not the other, as in that case you could wind up with clashing colors (as in the original report).

Comment 2 Michael Catanzaro 2016-11-18 18:31:10 UTC
Hi, sorry for the delay. This needs to be reported upstream on bugzilla.webkit.org against the WebKitGTK+ component, with the prefix [GTK] at the start of the title. I can do it if you want, but it'd be better for you to so that you can respond to comments. Please let me known whether you want to do this yourself or if you want me to. If you report it upstream, use the See Also field to point to WebKit #126907, although this is a different bug that should be reported separately.

Comment 3 Fedora End Of Life 2016-11-24 16:04:58 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Štefan Gurský 2016-11-24 22:44:39 UTC
I would prefer if you reported it.
And well, this it still affects epiphany v 3.22.1 in F25.


Note You need to log in before you can comment on or make changes to this bug.