mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Fill computed property values where the propery is missing in initial and final keyframes.
@keyframes anim { from { opacity: 0; transform: none; } to { transform: none; } } In above case, we have to add opacity property and value in the 'to' keyframe.
This commit is contained in:
parent
501edfdbdb
commit
396db281e3
2 changed files with 39 additions and 10 deletions
|
@ -43,7 +43,7 @@ use values::specified::Angle as SpecifiedAngle;
|
|||
/// property.
|
||||
// NB: This needs to be here because it needs all the longhands generated
|
||||
// beforehand.
|
||||
#[derive(Copy, Clone, Debug, PartialEq)]
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
pub enum TransitionProperty {
|
||||
/// All, any animatable property changing should generate a transition.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue