@@ -12,6 +12,9 @@ describe("url", function() {
12
12
test ( "background img 3" , ".class { background: green url( 'img.png' ) xyz }" , [
13
13
[ 1 , ".class { background: green url({./img.png}) xyz }" , "" ]
14
14
] ) ;
15
+ test ( "background img 4" , ".class { background: green url( img.png ) xyz }" , [
16
+ [ 1 , ".class { background: green url({./img.png}) xyz }" , "" ]
17
+ ] ) ;
15
18
test ( "background img absolute" , ".class { background: green url(/img.png) xyz }" , [
16
19
[ 1 , ".class { background: green url(/img.png) xyz }" , "" ]
17
20
] ) ;
@@ -63,6 +66,9 @@ describe("url", function() {
63
66
test ( "background img 3 with url" , ".class { background: green url( 'img.png' ) xyz }" , [
64
67
[ 1 , ".class { background: green url( 'img.png' ) xyz }" , "" ]
65
68
] , "?-url" ) ;
69
+ test ( "background img 4 with url" , ".class { background: green url( img.png ) xyz }" , [
70
+ [ 1 , ".class { background: green url( img.png ) xyz }" , "" ]
71
+ ] , "?-url" ) ;
66
72
test ( "background img absolute with url" , ".class { background: green url(/img.png) xyz }" , [
67
73
[ 1 , ".class { background: green url(/img.png) xyz }" , "" ]
68
74
] , "?-url" ) ;
0 commit comments