- From: Zoli Szabó via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 Jun 2022 10:01:54 +0000
- To: public-css-archive@w3.org
> With `:placeholder-shown`, `:checked`, `:indeterminate`, etc. I'm not sure what's the appeal for this. But I think the bigger issue I have with this, is what the "default" state is. There are cases when you want to mark/highlight the input fields that were modified since page load. While this is easy to do for checkboxes/radio buttons (e.g. `input[checked]:not(:checked) {...}` and `input:not([checked]):checked {...}`), there isn't such a "straightforward" solution in the case of text inputs, textareas or selects. In the context of `:dirty`, "default" would mean the value the input field had when the page was loaded (it might be empty or not). It is a good point, however, that in the case of SPAs there should be a way to "mark" a new value as default. -- GitHub Notification of comment by zoliszabo Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1533#issuecomment-1148460279 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 7 June 2022 10:01:56 UTC