Skip to content

Make the muted content attribute a fallback#12389

Merged
zcorpan merged 1 commit intomainfrom
annevk/muted
May 5, 2026
Merged

Make the muted content attribute a fallback#12389
zcorpan merged 1 commit intomainfrom
annevk/muted

Conversation

@annevk
Copy link
Copy Markdown
Member

@annevk annevk commented Apr 17, 2026

And align the muted getter with the :muted pseudo-class.

This also cleans up how we organize all the muted state. This removes the reliance on "creation-time" of the element which is completely bogus as whenever an element is created it has exactly 0 attributes.

Fixes #5013.

(See WHATWG Working Mode: Changes for more details.)


/media.html ( diff )

And align the muted getter with the :muted pseudo-class.

This also cleans up how we organize all the muted state. This removes the reliance on "creation-time" of the element which is completely bogus as whenever an element is created it has exactly 0 attributes.

Fixes #5013.
@zcorpan zcorpan merged commit cf4109f into main May 5, 2026
2 checks passed
@zcorpan zcorpan deleted the annevk/muted branch May 5, 2026 09:38
zcorpan pushed a commit to web-platform-tests/wpt that referenced this pull request May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Media element muted attribute is checked at element creation time

2 participants