Inline CSS variables can't be re-set for animations
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: will, Unassigned)
References
(Blocks 1 open bug)
Details
Steps to reproduce:
-
Run the following fiddle:
https://jsfiddle.net/Laf7h5rg/ -
Click the test out button
-
Before the animation ends, change the value in the input to something else
-
Click the test out button
Actual results:
First click on the "test out" button, the progress bar goes from 50% to 100%.
The second time around tho, firefox seems to ignore the fact that we changed the --from-width variable and still generates the same transition.
Expected results:
The second time around, the variable should be set to what's inside the textbox. It works under chrome.
Updated•3 years ago
|
Comment 1•3 years ago
|
||
The severity field is not set for this bug.
:boris, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 2•3 years ago
|
||
I can reproduce this. This might be related to Bug 1710735, which also use custom variable in @keyframe block.
Updated•3 years ago
|
Updated•2 years ago
|
Description
•