@@ -112,7 +112,18 @@ it('should not automatically inject the `var()` for properties that accept `<das
112
112
{ raw : '[color:--foo]' } ,
113
113
114
114
// Automatic var injection is skipped
115
+ { raw : '[scroll-timeline-name:--foo]' } ,
115
116
{ raw : '[timeline-scope:--foo]' } ,
117
+ { raw : '[view-timeline-name:--foo]' } ,
118
+ { raw : '[font-palette:--foo]' } ,
119
+ { raw : '[anchor-name:--foo]' } ,
120
+ { raw : '[anchor-scope:--foo]' } ,
121
+ { raw : '[position-anchor:--foo]' } ,
122
+ { raw : '[position-try-options:--foo]' } ,
123
+ { raw : '[scroll-timeline:--foo]' } ,
124
+ { raw : '[animation-timeline:--foo]' } ,
125
+ { raw : '[view-timeline:--foo]' } ,
126
+ { raw : '[position-try:--foo]' } ,
116
127
] ,
117
128
}
118
129
@@ -122,13 +133,45 @@ it('should not automatically inject the `var()` for properties that accept `<das
122
133
123
134
return run ( input , config ) . then ( ( result ) => {
124
135
expect ( result . css ) . toMatchFormattedCss ( css `
136
+ .\[anchor-name\:--foo \] {
137
+ anchor-name : --foo ;
138
+ }
139
+ .\[anchor-scope\:--foo \] {
140
+ anchor-scope : --foo ;
141
+ }
142
+ .\[animation-timeline\:--foo \] {
143
+ animation-timeline : --foo ;
144
+ }
125
145
.\[color\:--foo \] {
126
146
color : var (--foo );
127
147
}
128
-
148
+ .\[font-palette\:--foo \] {
149
+ font-palette : --foo ;
150
+ }
151
+ .\[position-anchor\:--foo \] {
152
+ position-anchor : --foo ;
153
+ }
154
+ .\[position-try-options\:--foo \] {
155
+ position-try-options : --foo ;
156
+ }
157
+ .\[position-try\:--foo \] {
158
+ position-try : --foo ;
159
+ }
160
+ .\[scroll-timeline-name\:--foo \] {
161
+ scroll-timeline-name : --foo ;
162
+ }
163
+ .\[scroll-timeline\:--foo \] {
164
+ scroll-timeline : --foo ;
165
+ }
129
166
.\[timeline-scope\:--foo \] {
130
167
timeline-scope : --foo ;
131
168
}
169
+ .\[view-timeline-name\:--foo \] {
170
+ view-timeline-name : --foo ;
171
+ }
172
+ .\[view-timeline\:--foo \] {
173
+ view-timeline : --foo ;
174
+ }
132
175
` )
133
176
} )
134
177
} )
0 commit comments