- From: Jacob Rask via GitHub <sysbot+gh@w3.org>
- Date: Tue, 08 Nov 2022 22:45:05 +0000
- To: public-css-archive@w3.org
What some in this issue seem to argue for is rather the :blank selector. To create the Material style inputs with labels that are first positioned inside the input but then animate away, what you’re interested in is if the input is blank or not. If the default value is non-empty you also want to move the label. [Developers](https://github.com/finnhvman/matter) currently need to use :placeholder-shown in combination with a placeholder attribute with whitespace , which is not intuitive and is one of the few remaining reasons why we need JS for our inputs -- GitHub Notification of comment by jacobrask Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1533#issuecomment-1307939140 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 8 November 2022 22:45:07 UTC