Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This type, which we will use in the next patch in this series, can represent only longhands whose animation type is not "none". By introducing this type, we can later restrict the meaning of TransitionProperty to only cover properties whose animation type is not "none" OR "discrete" (since currently CSS transitions should not animate properties whose animation type is discrete). Doing so will also mean that CSS transitions ignore the 'display' property by default. Furthermore, introducing this type will allow the animation code to clearly document when a property is allowed to be a shorthand or unanimatable property and when it is expected to be an animatable longhand. This, in turn, will allow us to remove a few no-longer-necessary checks and simplify the code.
- Loading branch information