Skip to content

Commit 1fa191e

Browse files
Add picture-in-picture display mode (#9920)
1 parent 3aa1f39 commit 1fa191e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

mediaqueries-5/Overview.bs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@ Display Modes: the ''display-mode'' media feature </h3>
13011301

13021302
<pre class='descdef mq'>
13031303
Name: display-mode
1304-
Value: fullscreen | standalone | minimal-ui | browser
1304+
Value: fullscreen | standalone | minimal-ui | browser | picture-in-picture
13051305
For: @media
13061306
Type: discrete
13071307
</pre>
@@ -1350,6 +1350,16 @@ Display Modes: the ''display-mode'' media feature </h3>
13501350
The web application is displayed using the platform-specific convention
13511351
for opening hyperlinks in the user agent
13521352
(e.g., in a browser tab or a new window).
1353+
1354+
<dt><dfn>picture-in-picture</dfn>
1355+
<dd>
1356+
This mode allows users to continue consuming media while they interact
1357+
with other sites or applications on their device.
1358+
The web application is displayed in a floating and always-on-top window.
1359+
A user agent may include other platform specific UI elements,
1360+
such as "back-to-tab" and "site information" buttons
1361+
or whatever is customary on the platform and user agent.
1362+
13531363
</dl>
13541364

13551365
<details class="note">

0 commit comments

Comments
 (0)