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

Adding my voice to this. There's another issue with this - if a `details` box is closed, there's no way to navigate to its contents.

Here's a quick example:

```
<a href="#answer">What's in the box?</a>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<details>
   <summary>The box</summary>
   <div id="answer">A lovely surprise!</div>
</details>
```
I naïvely expected my browser to open the details and scroll me down to `#answer`.

Again, this would be particularly useful for answer accordions etc.

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


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

Received on Tuesday, 15 November 2022 12:05:54 UTC