Closed Bug 1215758 Opened 10 years ago Closed 10 years ago

HTML inputs are dark with dark theme

Categories

(Core :: CSS Parsing and Computation, defect)

41 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: astrothayne, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36 Steps to reproduce: I opened firefox on my linux box with KDE and a dark system theme. Then navigated to a page with HTML input elements that didn't have explicit CSS styles for things like background-color. I am using the default firefox theme. Actual results: The background color was dark for the HTML inputs. This looked really bad on many sites, and in the case that the site explicitly set the 'color' attribute for the input to a dark color, made text unreadable. Expected results: The HTML input should be light-themed, because most websites expect that.
Did it use to work with previous versions of Firefox?
Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
> The HTML input should be light-themed HTML form controls explicitly use the system theme for UI controls, because that's what the vast majority of users have been asking for for years. That is, users mostly want their textfields in the browser to match their textfields in other applications. If you want your text inputs to not match your system theme, you can of course use a user stylesheet to style them however you want. > and in the case that the site explicitly set the 'color' attribute for the input to a > dark color Without setting background? That site is just broken (which is not to say this does not happen).
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Uhh...yea. Resolved? Why is it that the Input box for "Additional Comments" to this bug is not experiencing the same issue as the OP shows in other Input fields--including in the "Persona" sign-in pop-up? I suppose it's comforting to know that it's "resolvable" by, e.g. turning off "Global Dark Theme" in GNOME3. It's still puzzling, however, that the Input fields are NOT dark when the "Default" theme is in use; even if the "system theme" is Dark.
> Why is it that the Input box for "Additional Comments" to this bug is not experiencing the same issue > as the OP shows in other Input fields That CSS on this page sets the color _and_ the background color for the input box. > It's still puzzling, however, that the Input fields are NOT dark when the "Default" theme is in use "Default" theme of which? Bugzilla or GNOME?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: