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
The definition of the
:picture-in-picturepseudo-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