- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Wed, 08 Jan 2020 18:08:14 +0000
- To: public-css-archive@w3.org
To the question of whether you can already tell whether a document is active or inactive: yes, via the [Page Visibility API](https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API) and also older JS methods like [`document.hasFocus()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus). So exposing the same info indirectly via CSS is not likely to be a concern. -- GitHub Notification of comment by AmeliaBR Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4579#issuecomment-572188785 using your GitHub account
Received on Wednesday, 8 January 2020 18:08:15 UTC