- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Wed, 15 Jan 2020 17:42:28 +0000
- To: public-css-archive@w3.org
Following up on the discussion in today's call (which didn't get posted because of bot issues, but we can copy it in once Dael has tidied up the minutes): Testing the default browser selection styles on my system, both Chrome and Firefox on Windows switch to the inactive selection style when you move focus between a main document and an iframe. So this (the inactive state for selection styling) is definitely different from Page Visibility API hidden state, although it still seems consistent with the `document.hasFocus()` state. Neither browser I tested drew an inactive selection for selected text in a text area when the text area no longer had focus (although they remembered the selection for when the element regained focus again). So I don't know if there's a use case for an element-level “inactive” state for styling. -- GitHub Notification of comment by AmeliaBR Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4579#issuecomment-574772660 using your GitHub account
Received on Wednesday, 15 January 2020 17:42:29 UTC