W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

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

From: Michael Wasserman via GitHub <sysbot+gh@w3.org>
Date: Fri, 20 Dec 2019 16:04:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-567976346-1576857891-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:57 UTC