Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a function to convert AnimationValueMap to PropertyDeclarationBlock.
We need to convert all AnimationValue (AnimationValueMap) on an element to PropertyDeclarationBlock in order to push the value inside the CSS cascade. Two reasons we did not add the function in AnimationValueMap: 1) All members of PropertyDeclarationBlock are private. 2) Rust does not allow us impl for type alias, so if we do impl the function in AnimationValueMap we need to make AnimationValueMap as a tuple or struct.
- Loading branch information