New issue
Advanced search Search tips

Issue 828046 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

HTMLMediaElement muted attribute is not in sync with JS

Project Member Reported by beccahughes@chromium.org, Apr 2 2018

Issue description

Chrome Version: 65.0.3325.181 
OS: Linux

What steps will reproduce the problem?
(1) Create a video element with muted attr (e.g. <video muted />)
(2) Unmute the video element using JS (e.g. video.muted = false)

What is the expected result?
The video element should not longer have the muted attribute.

What happens instead?
The video element still has the muted attribute.

This happens the other way too when you mute a video element.

 
Status: WontFix (was: Available)
I believe this is per spec. The muted content attribute (ie. <video muted>) is reflected by `defaultMuted`, not by `muted`. `muted` initial value is the content attribute but then they both live their own separate life.

It's indeed confusing but given that, as far as I know, it's implemented as is everywhere, probably not possible to change.

Marking as WontFix but please reopen if I misunderstood the issue.

Sign in to add a comment