Open Bug 1128047 Opened 10 years ago Updated 3 years ago

audio element without valid source is not rendered but focusable

Categories

(Core :: Audio/Video: Playback, defect, P3)

x86
macOS
defect

Tracking

()

People

(Reporter: mail, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20150108202552 Steps to reproduce: I added an <audio controls> element to the DOM but gave it an invalid <source> Actual results: I did not see the audio element rendered on screen, but the element was focusable and reachable by pressing the tab key Expected results: The audio element should stay visible and somehow make clear that doesn't have a valid source to play. This would be in line with the behavior of the video element. (Also the behavior experienced in Chrome)
Build ID 20151228030213 User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:46.0) Gecko/20100101 Firefox/46.0 I have tested this on Mac OS X 10.10 with Nightly 46.0a1 and I can reproduce the problem.
Status: UNCONFIRMED → NEW
Component: Untriaged → Audio/Video
Ever confirmed: true
Product: Firefox → Core
Version: 35 Branch → Trunk
Component: Audio/Video → Audio/Video: Playback
Perhaps we're not doing something to register the element properly in the layout until the source is set? Likely we won't get to this soon. Help from the layout team is week.
Priority: -- → P2
Mass change P2 -> P3
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: