Closed
Bug 2094063
Opened 13 days ago
Closed 6 days ago
When saving a payment method with a very long cardholder name, the text overflows outside the card preview in the doorhanger, and the Edit button is no longer visible
Categories
(Toolkit :: Form Autofill, defect, P2)
Tracking
()
VERIFIED
FIXED
163 Branch
People
(Reporter: cbadau, Assigned: kalenlu)
References
Details
(Whiteboard: [fxcm-cvv])
Attachments
(1 file, 1 external file)
|
206.88 KB,
image/png
|
Details |
Found in
- Nightly 162.0a1
Affected versions
- Nightly 162.0a1
Tested platforms
- Affected platforms: All
Preconditions
- extensions.formautofill.creditCards.storage.rust.active = true
- extensions.formautofill.creditCards.storage.rust.enabled = true
- extensions.formautofill.creditCards.cvv.enabled = true
- extensions.formautofill.creditCards.cvv.supported = "on"
- Have "Save and autofill payment info" and "Save security codes" enabled
Steps to reproduce
- Go to https://luke-chang.github.io/autofill-demo/basic_cc.html.
- Fill in the Name field with a very long cardholder name.
- Fill in the rest of the fields and submit the form.
Expected result
- The card save prompt (doorhanger) is displayed. The cardholder name is truncated or wrapped appropriately, the Edit button is visible and accessible regardless of the name length.
Actual result
- The card save prompt (doorhanger) is displayed. The cardholder name overflows outside the card preview in the doorhanger, and the Edit button is no longer visible. Please see the attached screenshot.
Regression range
- Not a regression but a new feature implementation.
Updated•11 days ago
|
Whiteboard: [fxcm-cvv]
Updated•11 days ago
|
Severity: -- → S3
Priority: -- → P2
Updated•11 days ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
A long name pushed the edit button outside of the doorhanger. Truncate the name
with ellipsis, so the exp date, security code, and edit button stay visible.
Wrap the name in a span within the strings if cardholder name, exp date, and/or
security code need to be reordered for localization.
Updated•10 days ago
|
Assignee: nobody → klu
Status: NEW → ASSIGNED
Pushed by klu@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/ae9dcc504259
https://hg.mozilla.org/integration/autoland/rev/331ecb882af7
Truncate long cardholder names in the payment method doorhanger. r=fluent-reviewers,desktop-theme-reviewers,credential-management-reviewers,kcochrane,bolsson,dimi
Comment 3•6 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 6 days ago
status-firefox163:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
Updated•6 days ago
|
Comment 4•5 days ago
|
||
Verified as fixed on Firefox Nightly 163.0a1. Long cardholder names are now properly truncated with an ellipsis, and the Edit button remains visible and accessible in the payment method doorhanger.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•