Bug 185856 - [GTK] <select> ignores color and background-color CSS properties
Summary: [GTK] <select> ignores color and background-color CSS properties
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-21 18:54 PDT by Carlos Eduardo Ramalho
Modified: 2020-01-29 11:17 PST (History)
2 users (show)

See Also:


Attachments
Test (253 bytes, text/html)
2018-05-21 18:54 PDT, Carlos Eduardo Ramalho
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Eduardo Ramalho 2018-05-21 18:54:15 PDT
Created attachment 340941 [details]
Test

After bug 118234, combo boxes ignore CSS color and background-color, always styling with colors from the GTK theme.

cgarcia commented in bug 118234

> I think we need to implement RenderTheme::isControlStyled() properly to decide whether to apply native style or not.

Maybe that is the way to go to fix it.

Attached test shows an example.
Comment 1 Carlos Eduardo Ramalho 2018-05-31 18:58:43 PDT
Comment on attachment 340941 [details]
Test

This example results in just a thin black border around the select element.
Comment 2 Michael Catanzaro 2019-05-16 06:58:10 PDT
Is this a duplicate of bug #186219?
Comment 3 Michael Catanzaro 2020-01-29 11:16:58 PST
(In reply to Michael Catanzaro from comment #2)
> Is this a duplicate of bug #186219?

Nope. I'm closing the other dark mode bugs. But for this one, I guess we'll need to develop a non-GTK style.