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

+1. Another use case is to allow the open/closed state of the details element to be controlled by a preceding checkbox, using the sibling selector – something like
```
#agree-checkbox:checked + details {
  toggle-state: open;
}

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


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

Received on Sunday, 30 October 2022 01:59:23 UTC