- From: jonjohnjohnson via GitHub <sysbot+gh@w3.org>
- Date: Fri, 01 Jun 2018 05:41:49 +0000
- To: public-css-archive@w3.org
AFAICT the current state of the described use case is...
```css
/* focus while hovering */
.el:focus:hover { }
/* css indistinguishable scenarios */
/* blur while hovering */
/* hovering while not having been focused */
.el:hover { }
/* focus without hovering */
.el:focus { }
/* blur without hovering */
.el { }
```
The suggestion of `:then()` sounds like it could handle any "no longer matching" pseudo-class, while still/then matching it's argument?
As a simpler feature (which just solves this use case), how about a `:blurred`user action pseudo-class? Like `:focus`, where the pseudo-class is applied to the last blurred element within the document? Maybe even `:blurred-within`?
--
GitHub Notification of comment by jonjohnjohnson
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2725#issuecomment-393765712 using your GitHub account
Received on Friday, 1 June 2018 05:42:14 UTC