Skip to content

<audio> should be treat as replaced_content when exposing user_agents. #40693

@rayguo17

Description

@rayguo17

As per the spec

The audio element, when it is exposing a user interface, is expected to be treated as a replaced element about one line high, as wide as is necessary to expose the user agent's user interface features.

Currently, we treat <audio> as a Block in Flow formatting Context.
With the below test case,

<audio src="">
hello world</audio>

the hello world would be shown, while the expected behaviour is not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-feature-trackingThis issue tracks a particular high-level featureC-untriagedNew issues that haven't been triaged yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions