Web-Facing Change PSA: Document picture-in-picture: copy document mode

91 views
Skip to first unread message

Tommy Steimel

unread,
Oct 1, 2024, 2:19:00 PM10/1/24
to blink-dev

Contact emails

ste...@chromium.org

Specification

https://github.com/WICG/document-picture-in-picture/pull/128

Summary

This makes the document picture-in-picture Document's mode (quirks mode vs no-quirks-mode) match the mode of the opener Document. Currently, the empty document is quirks mode by default, so this allows websites that rely on non-quirks mode to still function properly within a document picture-in-picture window.



Blink component

Blink>Media>PictureInPicture

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

Small change to existing API that has not yet been implemented by other browsers



Gecko: No signal (https://github.com/mozilla/standards-positions/issues/670#issuecomment-2386617575)

WebKit: No signal (https://github.com/WebKit/standards-positions/issues/41#issuecomment-2386617755)

Web developers: Positive (https://github.com/WICG/document-picture-in-picture/issues/127)

Other signals:

Ergonomics

N/A



Activation

N/A



Security

N/A



WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

N/A



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?

No

Android does not support document picture-in-picture



Is this feature fully tested by web-platform-tests?

Yes

document-picture-in-picture/copy-document-mode.https.html document-picture-in-picture/copy-document-mode-quirks.https.html



Flag name on chrome://flags

None

Finch feature name

None

Non-finch justification

Small change to existing API



Requires code in //chrome?

False

Tracking bug

https://crbug.com/370423046

Estimated milestones

Shipping on desktop131


Anticipated spec changes

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).

None

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/6275022143094784?gate=5177056518995968

This intent message was generated by Chrome Platform Status.

Rick Byers

unread,
Oct 1, 2024, 4:53:06 PM10/1/24
to Tommy Steimel, blink-dev
Thanks Tommy, sounds like a bugfix to me.

Cheers,
  Rick

--
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/CAE-AwAqvmGgvkzumj7TTmoHzZkS6Dr-aJxZMTho98F_xQqo0Ew%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages