Skip to content

Commit

Permalink
Add CSS display-mode experimental support for picture-in-picture
Browse files Browse the repository at this point in the history
This CL adds experimental support to the CSS display-mode media feature
for picture-in-picture.

Spec PR: w3c/csswg-drafts#9920
Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/OE1rXYv126c

Demo: https://document-picture-in-picture-api.glitch.me/display-mode.html
Bug: 41493667
Change-Id: I16d0b7c62ed09220e4bbacdfa86191331f872d11
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5272485
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Fr <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1259357}
  • Loading branch information
beaufortfrancois authored and chromium-wpt-export-bot committed Feb 12, 2024
1 parent bec578b commit dea3f53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions css/mediaqueries/display-mode.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
query_should_be_known("(display-mode: browser)");
query_should_be_known("(display-mode: minimal-ui)");
query_should_be_known("(display-mode: fullscreen)");
query_should_be_known("(display-mode: picture-in-picture)");

query_should_be_unknown("(display-mode: 0)");
query_should_be_unknown("(display-mode: none)");
Expand Down

0 comments on commit dea3f53

Please sign in to comment.