Open Bug 1908291 Opened 1 year ago Updated 1 year ago

CSS @starting-style not working when removing/hiding elements

Categories

(Core :: CSS Transitions and Animations, defect)

Firefox 129
defect

Tracking

()

People

(Reporter: harald, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:129.0) Gecko/20100101 Firefox/129.0

Steps to reproduce:

Open Codepen from Adam Argyle https://codepen.io/argyleink/pen/qBGOamz

Click on "Remove" button.

Actual results:

Elements are hidden without any animation.

Expected results:

Elements should animate opacity and scale before being hidden.

Boris, could you take a look?

Blocks: 1892191
Severity: -- → S3
Flags: needinfo?(boris.chiou)

Looks like this is due to the lack of transition-behavior: allow-discrete.

I suspect this may be related to the animation of display. In the test case, it relies on the discrete transition of display property. However, Gecko doesn't support the animation/transition of display property (Bug 1834877).

Status: UNCONFIRMED → NEW
Depends on: 1834877
Ever confirmed: true
Flags: needinfo?(boris.chiou)

We can revisit this bug after we fixed Bug 1834877.

You need to log in before you can comment on or make changes to this bug.