@@ -1005,30 +1005,30 @@ const tests = [
1005
1005
*/
1006
1006
{
1007
1007
name : "consider :import statements pure" ,
1008
- input : ':import("~/lol.css") { a_value: some-value ; }' ,
1008
+ input : ':import("~/lol.css") { foo: __foo ; }' ,
1009
1009
options : { mode : "pure" } ,
1010
- expected : ':import("~/lol.css") { a_value: some-value ; }' ,
1010
+ expected : ':import("~/lol.css") { foo: __foo ; }' ,
1011
1011
} ,
1012
1012
{
1013
1013
name : "consider :export statements pure" ,
1014
- input : ":export { a_value: some-value ; }" ,
1014
+ input : ":export { foo: __foo ; }" ,
1015
1015
options : { mode : "pure" } ,
1016
- expected : ":export { a_value: some-value ; }" ,
1016
+ expected : ":export { foo: __foo ; }" ,
1017
1017
} ,
1018
1018
{
1019
1019
name : "handle negative animation-delay in animation shorthand" ,
1020
- input : ".foo { a_value: some-value ; }" ,
1021
- expected : ":local(.foo) { a_value: some-value ; }" ,
1020
+ input : ".foo { animation: 1s -500ms ; }" ,
1021
+ expected : ":local(.foo) { animation: 1s -500ms ; }" ,
1022
1022
} ,
1023
1023
{
1024
1024
name : "handle negative animation-delay in animation shorthand #1" ,
1025
- input : ".foo { a_value: some-value ; }" ,
1026
- expected : ":local(.foo) { a_value: some-value ; }" ,
1025
+ input : ".foo { animation: 1s -500.0ms ; }" ,
1026
+ expected : ":local(.foo) { animation: 1s -500.0ms ; }" ,
1027
1027
} ,
1028
1028
{
1029
1029
name : "handle negative animation-delay in animation shorthand #2" ,
1030
- input : ".foo { a_value: some-value ; }" ,
1031
- expected : ":local(.foo) { a_value: some-value ; }" ,
1030
+ input : ".foo { animation: 1s -500.0ms -a_value ; }" ,
1031
+ expected : ":local(.foo) { animation: 1s -500.0ms :local(-a_value) ; }" ,
1032
1032
} ,
1033
1033
{
1034
1034
name : "@scope at-rule" ,
0 commit comments