Closed Bug 1622550 Opened 5 years ago Closed 5 years ago

Form appears white in color override

Categories

(Core :: Layout: Form Controls, defect, P2)

74 Branch
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox74 --- wontfix
firefox75 --- wontfix

People

(Reporter: erfiaschi, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached image Immagine.jpg

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0

Steps to reproduce:

set red background color in color override

Actual results:

forms appear white

Expected results:

they should have appeared red as always before

Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Flags: needinfo?(emilio)
Priority: -- → P2
Regressed by: 1610085
Has Regression Range: --- → yes
Keywords: regression
Status: UNCONFIRMED → NEW
Ever confirmed: true

This is working as expected. We're honoring the UA stylesheet color, which is -moz-field, which is dependent on the OS and so on.

If I launch Firefox 70, configure a red background, and open data:text/html,<input type=text>, it shows white here on Linux. So I'm pretty sure this is invalid. Before that, we were putting a red background if the page did set any background (so like <input type=text style="background-color: white">). But that was never the intention of that code as that doesn't guarantee contrast.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(emilio)
Resolution: --- → INVALID

So, what should I edit in about:config or similar to get rid of it?
Thank you very much!

Setting ui.-moz-field to your background color should work (maybe transparent even?).

Or alternatively a user stylesheet with input { /* whatever you want */ } should do as well

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

Attachment

General

Creator:
Created:
Updated:
Size: