Closed Bug 2088487 Opened 19 days ago Closed 15 days ago

lolivotrattoria.com - Only the first two items are displayed under each menu category section

Categories

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

Tracking

(Webcompat Priority:P2, Webcompat Score:5, firefox159 wontfix, firefox160 wontfix, firefox161 wontfix, firefox162 fixed)

RESOLVED FIXED
Webcompat Priority P2
Webcompat Score 5
Tracking Status
firefox159 --- wontfix
firefox160 --- wontfix
firefox161 --- wontfix
firefox162 --- fixed

People

(Reporter: bfarkas, Unassigned)

References

()

Details

(Keywords: webcompat:needs-sitepatch, webcompat:platform-bug, webcompat:site-report, Whiteboard: [webcompat-source:product][autowebcompat:processed][autowebcompat:repro-success])

User Story

autowebcompat-repro-status:success
autowebcompat-repro-chrome-mask-fixed:false
autowebcompat-repro-channels:nightly,stable,esr
autowebcompat-repro-report-os:all
autowebcompat-diagnosis-status:failed
autowebcompat-diagnosis-reason:blocked_captcha
platform:windows,mac,linux,android
impact:workflow-broken
configuration:general
affects:all
branch:release
diagnosis-team:layout
user-impact-score:160

Attachments

(5 files)

Environment:
Operating system: Windows 10
Firefox version: Firefox 155.0a1 (Other) / Firefox Nightly 161.0a1 (2026-11-02)

Preconditions:

  • Clean profile

Steps to reproduce:

  1. Navigate to: https://lolivotrattoria.com/menu
  2. Scroll through the content of the page and observe

Expected Behavior:
The menu section contain all menu items accordingly

Actual Behavior:
Only the first two items are displayed under each menu category section

Notes:

  • Reproducible on the latest Firefox Release and Nightly
  • Reproducible regardless of the ETP setting
  • Works as expected using Chrome

Created from webcompat-user-report:9718170e-50f0-42fe-a8cc-262b94a5abb7

See Also: → 2059742
Whiteboard: [webcompat-source:product] → [webcompat-source:product][autowebcompat:processed][autowebcompat:reproduction-in-progress]
User Story: (updated)
Whiteboard: [webcompat-source:product][autowebcompat:processed][autowebcompat:reproduction-in-progress] → [webcompat-source:product][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:diagnose]

In Firefox, each menu category on lolivotrattoria.com/menu lays its items out in one horizontal row that runs far past the right edge of the viewport, so only the first two items are visible. The Chrome cross-check couldn't be done because Chrome was stopped at a Cloudflare security check ("Just a moment..."). The report says the menu works in Chrome.

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Whiteboard: [webcompat-source:product][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:diagnose] → [webcompat-source:product][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:diagnosis-in-progress]

Adding height:auto seems to fix the issue.

.menuSectionWrapper.columns .menuSection .itemSection.columns .item {

height: auto;
}

User Story: (updated)
User Story: (updated)
Whiteboard: [webcompat-source:product][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:diagnosis-in-progress] → [webcompat-source:product][autowebcompat:processed][autowebcompat:repro-success]

Comment 4 is right, but we should still look at the underlying platform issue. This is multicol+flexbox fun.

Severity: -- → S2
User Story: (updated)
Webcompat Priority: --- → P2
Webcompat Score: --- → 5
Priority: -- → P2
Depends on: 2089710

This has to do with resolving percentages in an auto-sized multicol element, which itself is inside of a grid or flex container. (Firefox does resolve them; Chrome/Safari do not. I suspect Chrome/Safari are correct, because resolving them ends up being kinda circular.) I filed bug 2089710 on this.

Note that the original site also has max-height: fit-content; on the percent-height elements -- if we supported max-height: fit-content (bug 1672559), that would also avoid the issue here. That's not the main issue here, though; Chrome/Safari still get the expected layout even if I set max-height:none on these elements. So bug 2089710 is the real root cause here.

No longer depends on: 2089710
OS: Windows → All
Hardware: Desktop → All
Version: Firefox 161 → Trunk

I just landed a patch in bug 2089710, and I confirmed locally that this website looks good with that fixed. We can close this once bug 2089710 has been merged from autoland to firefox-main.

Depends on: 2089710
Status: NEW → RESOLVED
Closed: 15 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: