Closed Bug 1918019 Opened 1 year ago Closed 3 months ago

"AI Story Time" ( https://story.betterchinese.com/ ) renders with overlapping/collapsed content in Firefox

Categories

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

Tracking

(Webcompat Priority:P2, Webcompat Score:5, firefox144 wontfix, firefox145 wontfix, firefox146 fixed)

VERIFIED FIXED
146 Branch
Webcompat Priority P2
Webcompat Score 5
Tracking Status
firefox144 --- wontfix
firefox145 --- wontfix
firefox146 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

References

(Depends on 1 open bug, )

Details

(5 keywords)

User Story

platform:windows,mac,linux,android
impact:site-broken
configuration:general
affects:all
branch:release
user-impact-score:200

Attachments

(3 files)

https://story.betterchinese.com/ has a few rendering glitches in Firefox that seem to boil down to height: -webkit-fill-available being unsupported.

Easiest one to see is on the landing page, where the version number and Terms of Service / Privacy Policy links are near the vertical-center of the page and overlap the "Create an account" button in Firefox, vs. they're at the bottom of the page in Chrome. I can poke Chrome to match Firefox' bad rendering by using devtools to disable the .Login_divContent__KHTNy { ... height: -webkit-fill-available; ... } declaration, so it's likely that we'd get the correct rendering if we supported height: -webkit-fill-available here.

Once signed in (I've got access to an account through a family member's school), the site is ~unusable in Firefox, as shown here. Firefox doesn't show the "Popular" section at all and collapses the "Today's story" into the upper left corner, and the header bar's icons are smooshed together rather than spreading to fill the viewport.

I can nudge Chrome to match Firefox's bad rendering by removing height: -webkit-fill-available from the .Home_divStoryListSubContent__bNvzK style rule and by removing width: -webkit-fill-available; from the .Home_divTopToolSubContent__cvWUf style rule. So, it looks like supporting -webkit-fill-available would probably make things Just Work here, too.

I've posted a partially-reduced testcase, generated from the testcase-reducer add-on, to make it easier to retest this in the future without necessarily needing to be signed in. It givers essentially the same renderings as shown in Comment 2, in Firefox vs. Chrome.

I've marked the testcase 'private' on bugzilla out of an abundance of caution, to protect the account-holder in case there are any auth tokens or other private data included in the markup that testcase-reducer captured.

Summary: https://story.betterchinese.com/ renders with overlapping/collapsed content in Firefox → "AI Story Time" ( https://story.betterchinese.com/ ) renders with overlapping/collapsed content in Firefox
Severity: -- → S2
User Story: (updated)
Priority: -- → P3

The unauthenticated landing page and partially-reduced testcase render as-expected in latest Nightly 135.0a1 (2024-12-14) if I enable about:config pref layout.css.webkit-fill-available.enabled.

Webcompat Priority: --- → P2
Webcompat Score: --- → 6
Webcompat Score: 6 → 5
Depends on: 1872755
User Story: (updated)
Depends on: 1988938

This should be fixed by the patch that I've just staged to land in bug 1988938. I just tested with the attached [private] testcase, in a local build with that patch applied, and I confirmed that it's fixed.

--> Closing, and removing dependency on bug 1872755 (which remains open and tracks broader support that's not needed here).

Status: NEW → RESOLVED
Closed: 5 months ago
User Story: (updated)
No longer depends on: 1872755
Resolution: --- → FIXED

Verified as reproducible using the RC Build

Tested with:

Browser / Version: Firefox 144.0-candidate build 1
Operating System: Windows 10 PRO x64

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached video chr vs rc

Also, the intervention for this site is no longer present in about:compat

I'm not seeing any issue when I enable layout.css.webkit-fill-available.enabled (it's on by default in nightly builds). Raul, is that maybe why you're seeing an issue here? I suppose we can ship an intervention for builds where that flag is disabled, but they seem to be using webkit-fill-available all over the place in their CSS, including on widths, so it might not be easy to figure out work-arounds for all of the potential breakage.

Flags: needinfo?(rbucata)

Yeah, it's expected that this is broken in 144 but fixed in 145 so comment 7 is unsurprising.

Not worth spinning up an intervention at this point. Re-closing and marking 144 as wontfix.

Flags: needinfo?(rbucata)
Status: REOPENED → RESOLVED
Closed: 5 months ago4 months ago
Resolution: --- → FIXED

(In reply to Raul Bucata from comment #9)

Also, the intervention for this site is no longer present in about:compat

(I don't believe we ever had one in this case)

Verified, this is still an issue with the RC 145. However it works on Nightly (146.0a1 - 2025-11-05)

Tested with:

  • Browser / Version: Firefox 145.0-candidate build 1
  • Operating System: Windows 10
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Bug 1988938 was reverted from 145, so that's not a surprising result.

Assignee: nobody → dholbert
Status: REOPENED → RESOLVED
Closed: 4 months ago3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch

Verified, the issue no longer reproduces.

Tested with:

  • Browser / Version: Firefox 146.0-candidate build 1
  • Operating System: Windows 10
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: