- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Jul 2022 16:27:18 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[selectors-4] Issue 11: Introduce pseudo-class matching when user changed the value of an input`. <details><summary>The full IRC log of that discussion</summary> <emilio> topic: [selectors-4] Issue 11: Introduce pseudo-class matching when user changed the value of an input<br> <emilio> github: https://github.com/w3c/csswg-drafts/issues/1533<br> <fantasai> emilio: I think this would mostly be an alias to a simple :is(:user-valid, :user-invalid)<br> <fantasai> emilio: but maybe best to have this conversation with Sebastien<br> <fantasai> fantasai: Comment pointing out a few cases where it's not exactly the same<br> <emilio> fantasai: It's not exactly what emilio is suggesting, see last comments in the issue<br> <emilio> bramus: so this is to target inputs, proposed aliases :dirty / :changed / :user-edited<br> <emilio> ... concept is when a user interacts with the input then it would become dirty<br> <emilio> fantasai: the other thing to note is that `:user-valid` / `:user-invalid` is that they trigger on submission, but this presumably won't<br> <tantek> I feel like this has come up in the past but I can't recall what we called it.<br> <argyle> https://angular.io/guide/form-validation#control-status-css-classes<br> <emilio> astearns: should we resolve to work on this?<br> <emilio> bramus: there seems to be a minor difference between :dirty and whether the user touched it<br> <tantek> q+<br> <emilio> ... e.g., focusing the input would be touched, changing the value would be dirty<br> <emilio> q-<br> <astearns> ack tantek<br> <emilio> tantek: in general looks like a good area to explore<br> <fantasai> tantek: This in general sounds like a good area to explore<br> <emilio> ... I think we have talked about in the past about this but I can't recall where<br> <emilio> ... one question is what happens with autofill and similar interactions<br> <argyle> i found these very helpful in the past: https://www.irccloud.com/pastebin/mBDWfxFT/<br> <emilio> ... does autofilling + clearing it out get special treatment?<br> <emilio> ... there's a bunch of questions about what other states do we need to design for<br> <emilio> ... we might want to do some more research on that<br> <bramus> Good suggestion<br> <emilio> +1, it seems there's a variety of different use cases that don't quite always match<br> <flackr> q+<br> <astearns> ack flackr<br> <emilio> flackr: I thought the autofilled text isn't exposed till the user interacts with the field<br> <tantek> I would also advise coordinating this exploration with #openui<br> <emilio> flackr: which would suggest that naively that before you interact with the page it wouldn't be dirty<br> <fantasai> emilio: You're right we dont' expose it<br> <fantasai> emilio: but we do match ?? pseudo-class<br> <dbaron> some of this may differ between password management autofill and more general autofill, too<br> <emilio> s/??/:autofill<br> <tantek> +1 dbaron<br> <emilio> astearns: I'll raise an issue with openui so that they're aware<br> <emilio> ... but it seems we have more questions than decissions at this point<br> <emilio> ... so I wonder if we should take it to the issue again for now<br> <emilio> ... does that sound ok?<br> <emilio> [silence]<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1533#issuecomment-1183431862 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 July 2022 16:27:20 UTC