- From: Bramus via GitHub <noreply@w3.org>
- Date: Thu, 14 Aug 2025 12:58:34 +0000
- To: public-css-archive@w3.org
With [`::details-content`](https://developer.mozilla.org/en-US/docs/Web/CSS/::details-content) now being a thing, this can be achieved using the following CSS:
```css
@media (print) {
::details-content {
content-visibility: visible;
height: auto !important;
}
}
```
Closing as answered.
--
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2084#issuecomment-3188365883 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 14 August 2025 12:58:35 UTC