Open Bug 1934093 Opened 3 months ago Updated 1 months ago

Details open with transition delay doesn't reset child position after closing

Categories

(Core :: CSS Transitions and Animations, defect)

Firefox 133
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mark.slater, Unassigned, NeedInfo)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached file details.html

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

Steps to reproduce:

  1. Load attached HTML file.
  2. Click on the details summary
  3. NAV shows and has the new margin-top applied, with animation
  4. Click on details summary again to hide the NAV
  5. Click details summary again, the child NAV item still has the margin-top applied, without animation

Actual results:

NAV did not have transition-duration delay applied.

Expected results:

NAV should have reset to margin-top:0px; after closing

The Bugbug bot thinks this bug should belong to the 'Core::Web Painting' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Web Painting
Product: Firefox → Core

The severity field is not set for this bug.
:tnikkel, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(tnikkel)

I can reproduce the issue on Nightly135.0a1 Windows11.
There are two behavior change regressions.

#1 Regression window (No animation on both first and second clicks):
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f8a7091761965259a2be5bb4aafe8f60c72c3352&tochange=7727a42d1c22f09c2eb0d01fa6fd6500d1be5748

Suspect: Bug 1308080

#2 Partially fixed range (Only the animation on first click is fixed):
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=e2635b8bf747fe8542ea4442db5aca85bd94eb1b&tochange=6904d078df0be1cd17df43b3ed219a17708386b8

Suspect: Bug 1789166

Keywords: regression
Regressed by: 1308080, 1789166

Safari never seems to show the animation.
Chrome seems to show the animation about 40% of the time.
So is this actually a Firefox bug then or something about the testcase?

Component: Web Painting → CSS Transitions and Animations
Flags: needinfo?(tnikkel)

The severity field is not set for this bug.
:alaskanemily, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(emcdonough)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: