W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

Re: [csswg-drafts] [selectors] Proposal for `:event:then(:event)` selector

From: Lcf.vs via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 Jun 2018 11:10:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-393849380-1527851438-sysbot+gh@w3.org>
@jonjohnjohnson 

> The suggestion of :then() sounds like it could handle any "no longer matching" pseudo-class, while still/then matching it's argument?
Exactly ;)

> As a simpler feature (which just solves this use case), how about a :blurreduser action pseudo-class? Like :focus, where the pseudo-class is applied to the last blurred element within the document? Maybe even :blurred-within?
IMHO, that solution isn't so flexible. What if we need to know the event preceeding the `:blurred` ?

The idea is really to make a user actions based selector (scenarisation). ;)

-- 
GitHub Notification of comment by Lcfvs
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2725#issuecomment-393849380 using your GitHub account
Received on Friday, 1 June 2018 11:10:47 UTC

This archive was generated by hypermail 2.3.1 : Friday, 1 June 2018 11:10:48 UTC