- From: Joey Arhar via GitHub <sysbot+gh@w3.org>
- Date: Fri, 16 Aug 2024 22:43:09 +0000
- To: public-css-archive@w3.org
> > Maybe injecting the disclosure-open counter style would work?
>
> @fantasai does this seem like what you were thinking of?
>
> ```
> select::select-fallback-button::after {
> padding-inline-start: 0.5em;
> }
> select:open::select-fallback-button::after {
> content: counter(foo, disclosure-open);
> }
> select:not(:open)::select-fallback-button::after {
> content: counter(foo, disclosure-closed);
> }
> ```
I'm going to implement this in the prototype now before re-architecting the button in response to https://github.com/w3c/csswg-drafts/issues/10717
--
GitHub Notification of comment by josepharhar
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10380#issuecomment-2294410912 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 16 August 2024 22:43:10 UTC