Skip to content

Media element pseudo-classes #1319

@foolip

Description

@foolip

Specification title

Selectors Level 4

Specification or proposal URL (if available)

https://drafts.csswg.org/selectors-4/#resource-pseudos

Explainer URL (if available)

No response

Proposal author(s)

No response

MDN URL

No response

Caniuse.com URL

https://caniuse.com/wf-media-pseudos

Bugzilla URL

https://bugzilla.mozilla.org/show_bug.cgi?id=2000526

Mozillians who can provide input

@zcorpan

WebKit standards-position

No response

Other information

The :playing, :paused, :seeking, :buffering, :stalled, :muted, and :volume-locked CSS pseudo-classes match <audio> and <video> elements based on their state.

Specs:
https://drafts.csswg.org/selectors-4/#resource-pseudos
https://html.spec.whatwg.org/multipage/semantics-other.html#pseudo-classes

This is already supported by Safari.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Unscreened

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions