Re: [csswg-drafts] [selectors] Pseudo class to indicated when a slot has content (#6867)

Perhaps inline with `:has`, `:has-assigned` (content could be a misnomer because it might contain text or nodes). This would enable styles such as:

```
slot[name='foo']:not(:has-assigned) {
   display: none;
}
```

A good partner to this spec would be #6620

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


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

Received on Monday, 23 May 2022 12:56:11 UTC