Open Bug 1904881 Opened 3 months ago Updated 4 days ago

Remove button "X" is misaligned when comparing accounts on td.com

Categories

(Web Compatibility :: Site Reports, defect, P3)

Firefox 129
Desktop
Windows 10

Tracking

(firefox127 affected, firefox129 affected)

Tracking Status
firefox127 --- affected
firefox129 --- affected

People

(Reporter: ctanase, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: webcompat:platform-bug, webcompat:site-report)

User Story

platform:windows,mac,linux
impact:minor-visual
configuration:general
affects:all
diagnosis-team:layout

Attachments

(1 file)

Attached image FF vs Chrome.png

Environment:
Operating system: Windows 10
Firefox version: Nightly 129.0a1 (2024-06-25)

Steps to reproduce:

  1. Go to https://www.td.com/ca/en/personal-banking/products/bank-accounts/chequing-accounts/student-chequing-account
  2. Click on the checkbox "Compare Account".
  3. Observe the "X" button displayed for the "TD Student Chequing Account" in the drop-up menu.

Expected Behavior:
The "X" button is displayed on the top right corner of the account icon.

Actual Behavior:
The "X" button is misaligned.

Notes:

  1. Screenshot attached
  2. Reproducible regardless of the ETP status
  3. Reproducible on Firefox Release as well
  4. Not reproducible on Chrome
  5. Issue found during WebCompat team [Top100] websites testing
Severity: -- → S4
User Story: (updated)
Priority: -- → P3

This is a positioning issue with abspos content inside of a display:inline; position:relative; container. The page has an element with these styles, which then serves as a containing block for an abspos child with auto insets (the "x" icon):

.cmp-compare-sticky-drawer__remove-prod-btn {
	display: inline;
	position: relative;
	top: -20px;
	left: -10px;
	height: 36px;
	width: 36px;
}

...and we end up positioning the abspos child's placeholder-frame incorrectly.

I think this is essentially a version of bug 489100.

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

Attachment

General

Creator:
Created:
Updated:
Size: