Skip to content

Media controls are not included in layout #31414

@jdm

Description

@jdm

With #31412 applied, open https://au.gmented.com/p/video/test.html. With --legacy-layout there are media controls that appear. When using layout 2020, they do not appear. These controls rely on a special shadow host setup in the legacy layout implementation (

let is_media_element_with_widget = node.type_id() ==
Some(LayoutNodeType::Element(LayoutElementType::HTMLMediaElement)) &&
node.as_element().unwrap().is_shadow_host();
). I'm not really clear where the right place to slot this into the new layout engine is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/mediaA-layout/2020https://github.com/servo/servo/wiki/Layout-2020

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions