Re: [csswg-drafts] [css-ui] DOM/Box structure for appearance:base-select (#10380)

> 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);
}
```

-- 
GitHub Notification of comment by josepharhar
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10380#issuecomment-2271713790 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 6 August 2024 16:43:47 UTC