Skip to content

[selectors-4] Clarify that :picture-in-picture applies to element in opener window #13720

Description

@SebastianZ

The definition of the :picture-in-picture pseudo-class is vague about whether it matches the in-page (placeholder) element or the one shown within the picture-in-picture window.

Given existing implementations, it is obviously meant to match the element in the opener viewport, so it is possible to style the element as a placeholder.

Though the current spec text at least caused confusion for the implementors in Gecko.

Sebastian

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