Closed Bug 1895561 Opened 3 months ago Closed 3 months ago

Password fields (e.g. in Bitwarden, LastPass, DashLane add-ons) have an extra/unexpected solid black border around password input fields, despite suppressing border via CSS

Categories

(Core :: Layout: Form Controls, defect)

defect

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox125 --- unaffected
firefox126 --- unaffected
firefox127 --- fixed

People

(Reporter: dholbert, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(6 files)

STR:

  1. Install Bitwarden Password Manager from https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager/
  2. When the login sidebar appears, type in any email address (e.g. test@example.org) and click Continue
  3. Look at the password field

ACTUAL RESULTS:
There's an unexpected/redundant-looking black border inside the input field.

EXPECTED RESULTS:
No such black border.

See attached screenshot. Left side shows expected-results in current Firefox release. Right side shows actual-results in current Nightly 127.0a1 (2024-05-07)

Looking in Browser Toolbox, it looks like the textfield in question has:

appearance: auto;

...from a UA stylsheet, and that's part of what's making it draw the border -- if I set appearance:none or appearance:textfield, then the border goes away.

I see a similar issue on LastPass as well, installed from https://addons.mozilla.org/en-US/firefox/addon/lastpass-password-manager/ - there's now a black border around the password field on the initial login screen for that add-on, which looks broken because the "Master Password" filler-text gets lifted up to overlap that unexpected-border when the field gains focus.

emilio: given that we're in the last week of a nightly cycle, should we backout bug 1750072 for now, or is there an easy fix we can land here?

Flags: needinfo?(emilio)
Summary: Bitwarden add-on's master password input-field has an extra/unexpected solid black border → Password add-ons (Bitwarden, LastPass) have an extra/unexpected solid black border around password input fields
Attachment #9400533 - Attachment description: screenshot (Firefox release on the left, Nightly on the right) → screenshot of bug affecting Bitwarden (Firefox release on the left, Nightly on the right)

This affects Dashlane as well (another popular password manager); see screenshot of their add-on's first-run account-setup flow (entering test@example.org when prompted for an email address).

Severity: -- → S2

This affects the dashlane website at https://app.dashlane.com/#/signup , too; it's not extension-specific.

Firefox Nightly draws a border around all of the password fields in testcase 1, as of this regression. Chrome, WebKit, and Firefox release do not.

Summary: Password add-ons (Bitwarden, LastPass) have an extra/unexpected solid black border around password input fields → Password fields (e.g. in Bitwarden, LastPass, DashLane add-ons) have an extra/unexpected solid black border around password input fields, despite suppressing border via CSS

fix is trivial.

Assignee: nobody → emilio
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f6b1b8ed2ae4
Password appearance should be suppressed by author borders / backgrounds, just like textfield is. r=dholbert
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/46155 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Upstream PR merged by moz-wptsync-bot
Duplicate of this bug: 1895613
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: