document-picture-in-picture icon indicating copy to clipboard operation
document-picture-in-picture copied to clipboard

Add disallowPositionReuse

Open liberato-at-chromium opened this issue 11 months ago • 9 comments

A UA is free to select a position and size for a document PiP window that does not conform to the size requested by the site with requestWindow(). A typical use is to allow user resizes to take precedence if a PiP window is closed and reopened later by the same site, so that the user's preference takes precedence.

This change adds the disallowPositionReuse flag to notify the user agent that this PiP window is semantically unrelated to the previous one, so ignoring the most recent user-selected size might be more appropriate, as if this were the first PiP window opened by the site.

liberato-at-chromium avatar Mar 28 '24 18:03 liberato-at-chromium