This feature will make the <details> element automatically expand in response to other features which want to scroll to text or elements inside their collapsed content.

Motivation

This feature will allow scroll to text links and element fragment links to become capable of targeting content inside of collapsed details elements by making the browser open them before scrolling to the desired content. It will also allow find-in-page to search through content inside collapsed details elements by expanding them before find-in-page scrolls to them, effectively making much more content in existing webpages searchable. https://bugs.chromium.org/p/chromium/issues/detail?id=1058732 https://bugs.chromium.org/p/chromium/issues/detail?id=1185950 https://github.com/whatwg/html/issues/4051 https://github.com/whatwg/html/pull/6466

Specification

Editor's draft

Status in Chromium

Blink>HTML


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No signal
  • No signal
  • No signal
  • No signals

Owner

Last updated on 2021-06-23