Skip to content

Commit

Permalink
[css-transforms-2] Individual transform properties animate with none
Browse files Browse the repository at this point in the history
When animating or transitioning an independent transform property, and
the from value or to value (but not both) is none, the value none is
replaced by the equivalent identity value (0px for translate, 0deg for
rotate, 1 for scale).

resolves #968
  • Loading branch information
ericwilligers committed Jan 23, 2017
1 parent d9c2b5a commit 4088f7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions css-transforms-2/Overview.bs
Expand Up @@ -590,6 +590,9 @@ while all other values
create a stacking context and containing block,
per usual for transforms.

When animating or transitioning an individual transform property, and the from value or to
value (but not both) is ''none'', the value ''none'' is replaced by the equivalent identity
value (''0px'' for translate, ''0deg'' for rotate, ''1'' for scale).

Current Transformation Matrix {#ctm}
====================================
Expand Down

0 comments on commit 4088f7b

Please sign in to comment.