Open Bug 1879879 Opened 7 months ago Updated 3 days ago

The items from the ordered/unordered lists are misaligned on developers.pinterest.com

Categories

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

Firefox 124
Desktop
Windows 10

Tracking

(firefox122 affected, firefox124 affected)

Tracking Status
firefox122 --- affected
firefox124 --- affected

People

(Reporter: ctanase, Unassigned)

References

(Depends on 1 open bug, )

Details

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

User Story

platform:windows,mac,linux,android
impact:significant-visual
configuration:general
affects:all
branch:release
diagnosis-team:layout

Attachments

(1 file)

Environment:
Operating system: Windows 10
Firefox version: Nightly 124.0a1 (2024-02-11)

Steps to reproduce:

  1. Go to https://developers.pinterest.com/docs/add-ons/about-addons
  2. Scroll down the page.
  3. Observe the lists.

Expected Behaviour:
The items from the lists are aligned correctly.

Actual Behaviour:
The items from the lists are misaligned.

Notes:

  1. Screenshot attached
  2. Reproducible on Firefox Release as well
  3. Not reproducible on Chrome
  4. Issue found during WebCompat team [Top100] websites testing
Severity: -- → S3
Priority: -- → P2
User Story: (updated)

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.

User Story: (updated)
Depends on: 1918740

I spun off bug 1918740 for the platform bug here.

Sitepatch could be something like :where(.MlF) { display: block; } or so.

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; })

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

Attachment

General

Creator:
Created:
Updated:
Size: