Remove button "X" is misaligned when comparing accounts on td.com
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(Webcompat Priority:P3, Webcompat Score:1, firefox127 affected, firefox129 affected, firefox158 affected)
People
(Reporter: ctanase, Unassigned)
References
()
Details
(Keywords: webcompat:needs-diagnosis, webcompat:platform-bug, webcompat:site-report, Whiteboard: [webcompat:core])
User Story
platform:windows,mac,linux impact:minor-visual configuration:general affects:all diagnosis-team:layout user-impact-score:10
Attachments
(2 files)
Environment:
Operating system: Windows 10
Firefox version: Nightly 129.0a1 (2024-06-25)
Steps to reproduce:
- Go to https://www.td.com/ca/en/personal-banking/products/bank-accounts/chequing-accounts/student-chequing-account
- Click on the checkbox "Compare Account".
- 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:
- Screenshot attached
- Reproducible regardless of the ETP status
- Reproducible on Firefox Release as well
- Not reproducible on Chrome
- Issue found during WebCompat team [Top100] websites testing
Updated•2 years ago
|
Comment 1•2 years ago
•
|
||
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.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•9 months ago
|
Comment 2•6 months ago
|
||
When setting layout.abspos.fragment-aware-inline-cb.enabled=true, the "X" button moves up a bit, but it is still not at the top right corner like Google Chrome.
Updated•6 months ago
|
Comment 3•2 months ago
|
||
The issue is still reproducible.
Tested with:
Browser / Version: Firefox Nightly 158.0a1 (2026-09-13) (64-bit)
Operating System: Windows 10 PRO x64
Updated•2 months ago
|
Description
•