WICG / document-picture-in-picture

https://wicg.github.io/document-picture-in-picture/
Other
58 stars 9 forks source link

Add option to hide the "Back to Tab" button #114

Closed steimelchrome closed 8 months ago

steimelchrome commented 9 months ago

This adds a new allowReturnToTab option that, when false, hints to the user agent that a button for returning to the original tab does not make sense for the website's document picture-in-picture experience.

Fixes #113

domenic commented 9 months ago

We generally don't codify specific user interface choices like "tabs" (vs. windows or others) in web APIs. Could Owner or Opener or something like that work instead?

steimelchrome commented 8 months ago

We generally don't codify specific user interface choices like "tabs" (vs. windows or others) in web APIs. Could Owner or Opener or something like that work instead?

Good call. I've changed the parameter name to allowReturnToOpener