The items from the ordered/unordered lists are misaligned on developers.pinterest.com
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(Webcompat Priority:P3, Webcompat Score:3, firefox122 affected, firefox124 affected)
People
(Reporter: ctanase, Assigned: twisniewski)
References
(Depends on 1 open bug, )
Details
(Keywords: webcompat:platform-bug, webcompat:site-report, webcompat:sitepatch-applied)
User Story
platform:windows,mac,linux,android impact:significant-visual configuration:general affects:all branch:release diagnosis-team:layout user-impact-score:40
Attachments
(2 files)
Environment:
Operating system: Windows 10
Firefox version: Nightly 124.0a1 (2024-02-11)
Steps to reproduce:
- Go to https://developers.pinterest.com/docs/add-ons/about-addons
- Scroll down the page.
- Observe the lists.
Expected Behaviour:
The items from the lists are aligned correctly.
Actual Behaviour:
The items from the lists are misaligned.
Notes:
- Screenshot attached
- Reproducible on Firefox Release as well
- Not reproducible on Chrome
- Issue found during WebCompat team [Top100] websites testing
Updated•1 year ago
|
Updated•10 months ago
|
Assignee | ||
Comment 1•7 months ago
|
||
Here's a reduced test-case:
data:text/html,<!DOCTYPE html><ul><li><span><div>Update your JavaScript
It looks like with the standards doctype, Firefox adds an extra line-break, padding, or some other space, while Chrome does not. It also seems related to the nested div in the span, as if I drop either of those tags, the space also goes way.
I'm unsure if there's a way to site-patch this, so I'll drop that keyword for now.
Comment 2•7 months ago
|
||
I spun off bug 1918740 for the platform bug here.
Comment 3•7 months ago
|
||
Sitepatch could be something like :where(.MlF) { display: block; }
or so.
Assignee | ||
Comment 4•7 months ago
|
||
Thanks Emilio! That does seem to work. We may also want to make it not rely on the specific class, in case the site updates, but that might be overkill (for instance li > span:has(>div) { display:block; }
)
Assignee | ||
Comment 5•6 months ago
|
||
Updated•6 months ago
|
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Updated•6 months ago
|
Updated•3 months ago
|
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 8•2 months ago
|
||
The issue is no longer there on the site, and so we just removed the intervention in bug 1937841.
Description
•