Style set with animation and fill mode forwards not showing in devtools
Categories
(DevTools :: General, enhancement, P3)
Tracking
(Not tracked)
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:
- Go to https://codepen.io/emattias/pen/VwzJOBy
- Click button that runs animation overrides
left
property styling done with css (same result with inline styles) with fill modeforwards
. - Inspect the element
- 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
Comment 3•3 years ago
|
||
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.
Comment 4•3 years ago
|
||
We don't show any update related to animations or transitions at the moment. Moving to enhancement.
Description
•