Skip to content

Commit 425a6c9

Browse files
committed
[css-transforms-2] Individual transform properties animate with none
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
1 parent d9c2b5a commit 425a6c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css-transforms-2/Overview.bs

Lines changed: 3 additions & 0 deletions
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)