Re: [csswg-drafts] [cssom-view] Proposal: Enabling new multi-display and multi-window experiences (#4615)

AFAICT, the existing `window.screen` object is actually already live/dynamic, ie. cached Screen objects obtained from `window.screen` will return updated values in response to system display changes, and even handles moving the browser windows to a different display.

My current thought is that getScreens() should return static Screen objects, the API should offer an `onscreenchange` event, and it may be worth considering changing the `window.screen` object to also be static.

Other options are certainly on the table; I'd appreciate thoughts and feedback on this open screen-enumeration issue: https://github.com/webscreens/screen-enumeration/issues/12

-- 
GitHub Notification of comment by michaelwasserman
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4615#issuecomment-567976346 using your GitHub account

Received on Friday, 20 December 2019 16:04:53 UTC