Open
Bug 1710735
Opened 4 years ago
Updated 1 year ago
CSS variables not resolved in animation-timing-function inside @keyframes rule
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: mstange, Unassigned)
References
(Blocks 1 open bug)
Details
In this testcase, the animation is moving fluidly rather than in steps: https://codepen.io/mstange/pen/eYvpaXm
The declaration animation-timing-function: steps(var(--steps)); in the @keyframes rule seems to be ignored.
All browsers seem to agree on this. But is it something that the spec asks for, or is this by accident?
Emilio found https://searchfox.org/mozilla-central/rev/6b099d836c882bc155d2ef285e0ad0ab9f5038f6/servo/components/style/stylesheets/keyframes_rule.rs#337 and said "ordering might be a bit tricky, because we look the timing function before collecting custom properties declared in the keyframe block itself".
Updated•4 years ago
|
Severity: -- → S3
Updated•4 years ago
|
Flags: needinfo?(boris.chiou)
Updated•4 years ago
|
Flags: needinfo?(boris.chiou)
You need to log in
before you can comment on or make changes to this bug.
Description
•