HTML hidden=until-found and auto-opening <details> is newly baseline… or is it? Here's how it works, and issues to watch out for:
Here are the browser bug reports:
https://bugzilla.mozilla.org/show_bug.cgi?id=2006040
https://bugs.webkit.org/show_bug.cgi?id=304174
And the spec discussion: