Closed Bug 1893953 Opened 10 months ago Closed 3 months ago

Reflow issue on www.gamestar.de

Categories

(Core :: Layout: Flexbox, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1926015
Tracking Status
firefox132 --- affected
firefox133 --- affected
firefox134 --- fixed

People

(Reporter: sebo, Unassigned)

References

Details

Attachments

(1 file)

Attached image Overlapping issue.png

The "GAMESPLANET" link at https://www.gamestar.de/artikel/5-jahre-anno-1800,3411771.html sometimes isn't displayed correctly. The logo on the left sometimes overlaps the price on the right (see attached screenshot). It isn't constantly reproducible, though, and goes away when resizing the viewport. So it looks like an issue related to reflowing the flexbox layout.

Steps to reproduce the issue:

  1. Go to https://www.gamestar.de/artikel/5-jahre-anno-1800,3411771.html
  2. Accept cookies by clicking on "Zustimmen"
  3. Reload the page (continuously, until the link is displayed incorrectly)

I couldn't break the issue down to a simple test case yet. So it might be that this is a duplicate of another reflow bug.

Sebastian

This is similar to bug 1742042.

Severity: -- → S3
See Also: → 1742042

Note that the fix for bug 1742042 did unfortunately not fix this bug. I've tested this with the latest Nightly, i.e. 134.0a1 (2024-11-13).

Sebastian

I tried to break it down to a simple test case in https://jsfiddle.net/SebastianZ/c1wxd6mL/, though I wasn't successful. It seems to be related to the intrinsically sized flex items, but the issue is only occurring sporadically.
Ting-Yu, do you have an idea what could cause this issue?

Sebastian

Flags: needinfo?(aethanyc)

Sorry for the late reply. I can still reproduce this issue intermittently after hitting the reload button several times.

The "GAMESPLANET" image is in a nested flex container, and it has an aspect-ratio and a percentage height. We just fixed bug 1926015 that fixed several similar nested flexbox scenarios. We can wait until the patch landed on Nightly, and check if this bug is still reproducible or not. If bug 1926015 didn't help, then this bug might be similar to bug 1888262.

Flags: needinfo?(aethanyc)
See Also: → 1926015

Thank you for the hint and the fix! It looks like the bug is indeed fixed with today's Nightly. 🎉 In yesterday's Nightly it was definitely still an issue.

The only small issue I still see is the continuous re-layouting of the link, causing it to grow until the correct size is reached. Interestingly, this issue does not occur when the DevTools are opened. Though that's ok for me and I don't think that's worth another bug report.

Sebastian

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED

Thank you for the hint and the fix! It looks like the bug is indeed fixed with today's Nightly. 🎉 In yesterday's Nightly it was definitely still an issue.

Yes, this bug is fixed by 1926015. I test it on Nightly 134.0a1 (2024-11-22).

The only small issue I still see is the continuous re-layouting of the link, causing it to grow until the correct size is reached. Interestingly, this issue does not occur when the DevTools are opened. Though that's ok for me and I don't think that's worth another bug report.

Right, I see either a blink or an animation of the link growth until the image loaded. However, I also see a similar effect on Google chrome, so I feel it is a design of the site.

Duplicate of bug: 1926015
Resolution: FIXED → DUPLICATE
See Also: 1926015
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: