Skip to content

Commit 46f4da5

Browse files
ericwilligerssmfr
authored andcommitted
[css-transforms-2] Individual transform properties animate with none
When 'translate', 'rotate' or 'scale' are animating or transitioning, 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
1 parent c4494a6 commit 46f4da5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css-transforms-2/Overview.bs

+3
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,9 @@ while all other values
590590
create a stacking context and containing block,
591591
per usual for transforms.
592592

593+
When 'translate', 'rotate' or 'scale' are animating or transitioning, and the from value or to
594+
value (but not both) is ''none'', the value ''none'' is replaced by the equivalent identity
595+
value (''0px'' for translate, ''0deg'' for rotate, ''1'' for scale).
593596

594597
Current Transformation Matrix {#ctm}
595598
====================================

0 commit comments

Comments
 (0)