Bug 184264 - [GTK] Inputs are using GTK theme
Summary: [GTK] Inputs are using GTK theme
Status: RESOLVED DUPLICATE of bug 126907
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-03 07:21 PDT by Carlos Bentzen
Modified: 2018-04-03 11:40 PDT (History)
1 user (show)

See Also:


Attachments
Dark inputs (14.06 KB, image/png)
2018-04-03 07:21 PDT, Carlos Bentzen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Bentzen 2018-04-03 07:21:34 PDT
Created attachment 337077 [details]
Dark inputs

Inputs are using the gtk application theme from GNOME. For example, text inputs are dark in web pages if my GNOME applications theme is set to Adwaita-dark.

Is this an expected behavior? I find this particularly annoying because inputs do not match the website's style. Also, although the input is dark, the font is still black, making it hard to read what is being typed.

Attached is a screenshot from https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_form_submit showing how text inputs and buttons are dark. 

Reproduced in:
- Epiphany Technology Preview 3.27.90-64-gbd34ee2 with WebKitGTK+ 2.20.0
- Gnome Wayland
- Arch Linux

MiniBrowser from Trunk doesn't import the dark theme from system, so I think because of that the style isn't passed on to input elements.
Comment 1 Michael Catanzaro 2018-04-03 11:40:43 PDT
Of course it's expected, but yes it breaks pretty badly in dark themes....

*** This bug has been marked as a duplicate of bug 126907 ***