Skip to content

HTMLAudioElement is partially supported and confusing #5505

@electricmonk

Description

@electricmonk

Attempting to render an <audio volume="1"> tag. Element is rendered but volume attribute not.

If I understand correctly, PR #2094 introduced lots of different attributes and was rejected. However, presently React violates the principle of least surprise, by agreeing to render an HTMLAudioElement but only rendering some of its attributes - only those that are included in HTMLDOMPropertyConfig.

Is there any work planned on the media tags? should React be willing to render them only with part of the attributes? wouldn't it be better to drop support completely?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions