Skip to content

Extending details[name] grouping to handle sets that expand and collapse together #11920

@nektro

Description

@nektro

What problem are you trying to solve?

After seeing #9400 I was reminded of another similar operation that would be nice to use with <details> not currently doable with only HTML.

If you visit https://github.com/tc39/test262/pull/4671/files on desktop, holding (ALT on windows/linux, on mac) while clicking the caret for a particular file in the changeset then all the files will open and close together.

What solutions exist today?

This is achievable with ECMAScript.

How would you solve it?

reuse the details[name] grouping and perhaps have a namestyle="accordion | basket".

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    addition/proposalNew features or enhancementsneeds implementer interestMoving the issue forward requires implementers to express interest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions