Re: [csswg-drafts] Ability to style <details>/<summary> to be open (e.g. for print styles) (#2084)

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