Open Bug 1742952 Opened 3 years ago Updated 3 years ago

Style set with animation and fill mode forwards not showing in devtools

Categories

(DevTools :: General, enhancement, P3)

Firefox 94
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: mattiasha, Unassigned)

Details

Attachments

(2 files)

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

Steps to reproduce:

  1. Go to https://codepen.io/emattias/pen/VwzJOBy
  2. Click button that runs animation overrides left property styling done with css (same result with inline styles) with fill mode forwards.
  3. Inspect the element
  4. Devtools will show the styling from the css file (or inline styles) but that element will use the styling set in the animation.

Actual results:

When inspecting the element its not showing the styling that actually takes precedence (the one in the animation).

Expected results:

I would like to see the animation set styling in the style area in devtools above the other styles since its the one that takes precedence (even over inline styles).

This can be confusing and to my knowledge the only case when a style that is used is not shown in the style area when inspecting an element

You can see the style set by the animation in the computed tab but that is also confusing because it doesnt show where the styling comes from when you expand it to see when the styling comes from.

Heres the chrome issue for the same thing: https://bugs.chromium.org/p/chromium/issues/detail?id=1273771

The Bugbug bot thinks this bug should belong to the 'DevTools::General' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → General
Product: Firefox → DevTools

We don't show any update related to animations or transitions at the moment. Moving to enhancement.

Type: defect → enhancement
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: