Re: [csswg-drafts] [css-overflow] New expand value for overflow. (#7839)

So, if given the following example ([playground](https://flems.io/#0=N4IgtglgJlA2CmIBcBmAHAOgKwEYA0IAzvAgMYAu8UyIGphhIBAZhAo0gNqgB2AhmERJaAC3JhYTEKQD2PSvJoAeeAHMAtLNiw+AB2IA+ADo8ABKaUQeugK7lT0ALxGQzG9penyAT13xn0iLwpADWAEYyAB6eAPTGZhY6YSSmzDIATgFuHiAGhCIyAO6p7rCmsvLw8koxSSTxJuZKugYAKiIQhA5dhDKC5XKUkfbkInz2hWxlyeV2pjLMzBg1LY0WLQAyVvCmAEzLMasJzQZbPDsoB0dNm9umACxX8TVqmjLaeoYmUsRk5BByDggHCoe4gAC+eF4AiEtAAVowCBUFOQaBCoSB+IIaHQGFJkVVUcJXlodPodsA1ro+DArKokKYcAAGXSRADcaygnV0Om8DLCsBkoQ5CTCfFCqnSMhsPCgb0F6QZAGIYFAReYIukoPBFXtWaZerBoKYlXwzerTGA+JF1EEIKoxAy0Cz2WsZAA3HXMQWFBkdGBVEXgkwmEnvMnEJBjQgACistnISFIQVCVAAlKZKQkPV6fQyrBB-nxYBarTa7Q7Ew4eIWIMWgyGeKwSFBiPYsxqMtrdUygz8SMF-oCaFgkDgAJwQgC64KAA)).

![image](https://user-images.githubusercontent.com/5929807/194305810-0ade6118-797b-4336-b991-ca5ee669a8ab.png)

It would be good to "know" if we need to show that checkbox, based on if the content has been overflowed (without javascript).

I was thinking maybe a pseudo class of `:overflowed` could work?

So my example would have:

```css
eg-collapse-controlbox {
  display: none;
}

eg-collapse:overflowed eg-collapse-controlbox {
  display: initial;
}
```

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


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

Received on Thursday, 6 October 2022 11:56:26 UTC