Closed Bug 1465051 Opened 6 years ago Closed 5 years ago

Dark GTK themes on Linux screw with CSS, especially inputboxes

Categories

(Core :: Widget: Gtk, defect)

60 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1268338

People

(Reporter: sgibb641, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180516032328

Steps to reproduce:

Install any Linux distro
Choose a dark theme such as vertex-dark or arc-dark, you may need to install one
In most distros this can be found under "appearance" in the start menu
Navigate to a webpage of your choice, preferably one with lots of inputboxes
(I'll come back and post some webpages that display this issues well)


Actual results:

Some areas of the page are dark, this is okay except it makes the page's theme inconsistent and sometimes results in the user typing black text into a black input box which is not ideal


Expected results:

Changing the desktop environments's theme should have no effect on a webpage's CSS

I find it interesting that I could not find more bug reports about this issue given this issue is often complained about in Linux communities
Some websites that are affected by this issue:

Sites with unexpectedly dark form/search fields and dark text
http://www.dictionary.com/
http://www.ecosia.org/
https://cointelegraph.com/
https://www.codecademy.com/

Sites with unexpectedly dark form/search fields but properly inverted (white) text
https://httpbin.org/forms/post
https://www.kickstarter.com (click the search button) 

Sites with visually consistent (white) form/search fields but unexpectedly inverted (white) text
https://www.telegraph.co.uk/search.html
https://www.khanacademy.org/ (click the search button)

Further notes:
Given the the XFCE-Dusk theme does not replicate this issue it is possible to shift the blame onto the makers of Vertex-Dark and Arc-Dark. However at the same time browsers such as Chrome and Brave do not suffer from this issue.
This is reproducible on Ubuntu 16.04 with latest nightly using the vertex-dark theme. Input boxes become dark and texts are black.

Screen capture is here- https://testing-1.tinytake.com/sf/MjY0OTAyN183OTU0OTk2

Test environment:
Version 	62.0a1
Build ID 	20180601100102
Update Channel 	nightly
User Agent 	Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
Status: UNCONFIRMED → NEW
Component: Untriaged → Widget: Gtk
Ever confirmed: true
Product: Firefox → Core
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.