Skip to content

Media controls for video is not displayed #40452

@tharkum

Description

@tharkum

Describe the bug:
The media controls for HTMLVideoElement is not displayed, while for HTMLAudioElement they can be seen.

Initial hint to find root case of it: video is treated as replaced elements in Servo, while audio is still not yet.

See https://html.spec.whatwg.org/multipage/rendering.html#embedded-content-rendering-rules

To Reproduce:

<!DOCTYPE html>
<audio id="audio" controls></audio>
<video id="video" controls></video>

Permalink to test : here

Chrome:
Image

Servo:

Image

Platform:
Ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions