File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -3086,6 +3086,37 @@ test('scale-x', () => {
3086
3086
initial-value: 1;
3087
3087
}"
3088
3088
` )
3089
+ expect ( run ( [ 'scale-200' , 'scale-x-400' ] ) ) . toMatchInlineSnapshot ( `
3090
+ ".scale-200 {
3091
+ --tw-scale-x: 200%;
3092
+ --tw-scale-y: 200%;
3093
+ --tw-scale-z: 200%;
3094
+ scale: var(--tw-scale-x) var(--tw-scale-y);
3095
+ }
3096
+
3097
+ .scale-x-400 {
3098
+ --tw-scale-x: 400%;
3099
+ scale: var(--tw-scale-x) var(--tw-scale-y);
3100
+ }
3101
+
3102
+ @property --tw-scale-x {
3103
+ syntax: "<number> | <percentage>";
3104
+ inherits: false;
3105
+ initial-value: 1;
3106
+ }
3107
+
3108
+ @property --tw-scale-y {
3109
+ syntax: "<number> | <percentage>";
3110
+ inherits: false;
3111
+ initial-value: 1;
3112
+ }
3113
+
3114
+ @property --tw-scale-z {
3115
+ syntax: "<number> | <percentage>";
3116
+ inherits: false;
3117
+ initial-value: 1;
3118
+ }"
3119
+ ` )
3089
3120
expect ( run ( [ 'scale-x' , 'scale-x-unknown' ] ) ) . toEqual ( '' )
3090
3121
} )
3091
3122
You can’t perform that action at this time.
0 commit comments