Adds support to the CSS display-mode media feature for picture-in-picture. This allows web developers to write specific CSS rules that are only applied when (part of the) the web app is shown in picture-in-picture mode.
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
No DevTools changes are required, treated like any other CSS property.
The document picture-in-picture API is not supported on Android
https://wpt.fyi/results/css/mediaqueries/display-mode.html https://wpt.live/css/mediaqueries/display-mode.html
Shipping on desktop | 123 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
NoneContact emails
fbea...@google.comExplainer
NoneSpecification
https://drafts.csswg.org/mediaqueries-5/#display-mode-picture-in-picture
https://github.com/w3c/csswg-drafts/issues/9260
Summary
Adds support to the CSS display-mode media feature for picture-in-picture. This allows web developers to write specific CSS rules that are only applied when (part of the) the web app is shown in picture-in-picture mode.
Blink component
Blink>CSSTAG review
NoneTAG review status
Not applicable as this is a minor change to the behavior of an existing API
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPpwU5JsF6bdXuvH3XvqEE_PBy%2BkY3oYdKG_%2BzYHynGM1X7Uxw%40mail.gmail.com.
LGTM1This seems like a small and useful extension to Document picture-in-picture.On Tue, Feb 13, 2024 at 11:13 AM 'François Beaufort' via blink-dev <blin...@chromium.org> wrote:Contact emails
fbea...@google.comExplainer
NoneSpecification
https://drafts.csswg.org/mediaqueries-5/#display-mode-picture-in-picture
https://github.com/w3c/csswg-drafts/issues/9260
Summary
Adds support to the CSS display-mode media feature for picture-in-picture. This allows web developers to write specific CSS rules that are only applied when (part of the) the web app is shown in picture-in-picture mode.
Blink component
Blink>CSSTAG review
NoneTAG review status
Not applicable as this is a minor change to the behavior of an existing APIMaybe comment with this on a the broader feature's TAG review, similar to what you did for vendor positions?
Hi,
On 13/02/2024 11:13, 'François Beaufort' via blink-dev wrote:
>
> Is this feature fully tested by web-platform-tests
> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>?
>
> Yes
>
> https://wpt.fyi/results/css/mediaqueries/display-mode.html
> <https://wpt.fyi/results/css/mediaqueries/display-mode.html>
> https://wpt.live/css/mediaqueries/display-mode.html
> <https://wpt.live/css/mediaqueries/display-mode.html>
Is this only testing the parsing of the new value?
Cheers,
Rego