Re: [w3ctag/design-reviews] Early design review: Document Picture-in-Picture (Issue #798)

> (what is singleton-per-top-level-traversable-nature?).

There is only one document PiP window allowed per top-level traversable. I.e., there is a distinct "document PiP window spawned by this top-level traversable" slot, which is suitably exposed through the `documentPictureInPicture` object, which can be used to fill that slot and monitor it. The document PiP API is stateful.

Whereas, `window.open()` can be called arbitrarily, as many times as you want, and doesn't fill a single "`Window`-opened by top-level traversable" slot. `window.open()` is stateless.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/798#issuecomment-1882367251
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/798/1882367251@github.com>

Received on Tuesday, 9 January 2024 03:45:38 UTC