WICG / scroll-to-text-fragment

Proposal to allow specifying a text snippet in a URL fragment
Other
589 stars 42 forks source link

hidden=until-found and auto-expanding <details> #173

Closed josepharhar closed 10 months ago

josepharhar commented 3 years ago

Hello, I've been working on two similar features in chromium: hidden=until-found and auto-expanding details elements.

Both of these features revolve around revealing content in response to find-in-page and element fragments, and I'd also like scroll-to-text-fragment to be supported - I'd like for text matches from scroll-to-text-fragment queries within closed details elements and hidden=until-found subtrees to allow the content to be revealed so scroll-to-text-fragment can scroll to it. I noticed that scroll-to-text-fragment appears to be here instead of the html spec... should I make a PR here in order for scroll-to-text-fragment support to be specified for these features?

bokand commented 3 years ago

Yes, until we get a second implementer interested in text-fragments we can't PR on the HTML spec so I think here is fine for now.

bokand commented 10 months ago

Closing out old issues - I think this one is resolved since the algorithm includes expanding these sections.