Open Bug 1925924 Opened 24 days ago Updated 9 days ago

w3.nhk.or.jp - Missing elements from the page

Categories

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

Desktop
Windows 10

Tracking

(firefox131 affected, firefox133 affected)

Tracking Status
firefox131 --- affected
firefox133 --- affected

People

(Reporter: rbucata, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: webcompat:platform-bug, webcompat:site-report, Whiteboard: [webcompat-source:web-bugs])

User Story

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

Attachments

(1 file)

Environment:
Operating system: Windows 10
Firefox version: Firefox 131.0

Steps to reproduce:

  1. Navigate to: https://www3.nhk.or.jp/sports/program/
  2. Scroll the page and observe the broadcasting time next to the shows

Expected Behavior:
Icons are rendered ("BS", "G", etc)

Actual Behavior:
Icons are missing

Notes:

  • Reproduces regardless of the status of ETP
  • Reproduces in Firefox Nightly, and Firefox Release
  • Does not reproduce in Chrome

Created from https://github.com/webcompat/web-bugs/issues/142992

Attached video 20241021_110321.mp4

That's an SVG, and the <img> tag has width and height specified, yet Firefox is rendering it as 0x0px small

Severity: -- → S2
User Story: (updated)
Priority: -- → P2

The img here has max-width:max-content which we're treating as 0 for some reason -- maybe because the SVG file itself has no declared width or height?

If I undo that by e.g. setting max-width:none, then the image shows up just fine.

Reduced testcase which is blank in Firefox vs. shows the image in Chrome:

data:text/html,<img style="max-width: max-content" src="https://www.nhk.jp/assets/images/broadcastservice/bs/g1/g1-badge9x4.svg">
Depends on: 1929151

I spun off bug 1929151 as a platform bug here.

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

Attachment

General

Creator:
Created:
Updated:
Size: