Closed Bug 1965892 Opened 3 months ago Closed 3 months ago

<details name=""> attribute does not create exclusive accordion

Categories

(Core :: General, defect)

Firefox 128
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: hlieberman, Unassigned)

References

Details

Attachments

(1 file)

Attached image broken_mdn_example.png

As per the specification, multiple details elements with the same "name" attribute should be opened exclusively in relation to each other; i.e., when one opens, the others should all close. This is highlighted as a specific use-case in both the MDN documentation (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/details#multiple_named_disclosure_boxes) and in an MDN blogpost announcing the merging of the feature (https://developer.mozilla.org/en-US/blog/html-details-exclusive-accordions/). This was implemented in bug #1856460.

Unfortunately, it seems sometime between then and now, there was a regression. The example on MDN no longer opens exclusively, at least in Firefox 128.9.0esr. I will attempt a mozregression trace after this bug is posted.

Component: about:logins → General
Product: Firefox → Core
Regressions: 1856460

Never mind; I can't do simple arithmetic. 128 < 130, did you know? 🫠

Status: UNCONFIRMED → RESOLVED
Closed: 3 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: