Closed Bug 1916200 Opened 9 months ago Closed 8 months ago

Transitioning display does not trigger a transitionstart

Categories

(Core :: CSS Transitions and Animations, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1834877

People

(Reporter: bramus, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36

Steps to reproduce:

(This bug was discovered while building @bramus/style-observer, a library that responds to changes in computed styles. For this it relies on CSS Transitions and transition-behavior: allow-discrete. See https://brm.us/style-observer for details about this library.)

Actual results:

Nothing happens because no transitionstart gets fired after the display property is updated.

Expected results:

When clicking the “Toggle display” button, the output should update.

Forgot to mention: Tested in Firefox Nightly 131.0a1 (2024-09-01) (aarch64)

Seems like it yes. Marking as duplicate.

Status: UNCONFIRMED → RESOLVED
Closed: 8 months ago
Duplicate of bug: 1834877
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.