@@ -12,12 +12,15 @@ describe("url", function() {
1212 test ( "background img 3" , ".class { background: green url( 'img.png' ) xyz }" , [
1313 [ 1 , ".class { background: green url({./img.png}) xyz }" , "" ]
1414 ] ) ;
15- test ( "background img contain space in name" , ".class { background: green url( \"img img.png\" ) xyz }" , [
16- [ 1 , ".class { background: green url(\"{./img img.png}\") xyz }" , "" ]
17- ] ) ;
18- test ( "background 2 img contain space in name" , ".class { background: green url( 'img img.png' ) xyz }" , [
19- [ 1 , ".class { background: green url('{./img img.png}') xyz }" , "" ]
15+ test ( "background img 4" , ".class { background: green url( img.png ) xyz }" , [
16+ [ 1 , ".class { background: green url({./img.png}) xyz }" , "" ]
2017 ] ) ;
18+ test ( "background img contain space in name" , ".class { background: green url( \"img img.png\" ) xyz }" , [
19+ [ 1 , ".class { background: green url(\"{./img img.png}\") xyz }" , "" ]
20+ ] ) ;
21+ test ( "background 2 img contain space in name" , ".class { background: green url( 'img img.png' ) xyz }" , [
22+ [ 1 , ".class { background: green url('{./img img.png}') xyz }" , "" ]
23+ ] ) ;
2124 test ( "background img absolute" , ".class { background: green url(/img.png) xyz }" , [
2225 [ 1 , ".class { background: green url(/img.png) xyz }" , "" ]
2326 ] ) ;
@@ -77,6 +80,9 @@ describe("url", function() {
7780 test ( "background img 3 with url" , ".class { background: green url( 'img.png' ) xyz }" , [
7881 [ 1 , ".class { background: green url( 'img.png' ) xyz }" , "" ]
7982 ] , "?-url" ) ;
83+ test ( "background img 4 with url" , ".class { background: green url( img.png ) xyz }" , [
84+ [ 1 , ".class { background: green url( img.png ) xyz }" , "" ]
85+ ] , "?-url" ) ;
8086 test ( "background img with url contain space in name" , ".class { background: green url( \"img img.png\" ) xyz }" , [
8187 [ 1 , ".class { background: green url( \"img img.png\" ) xyz }" , "" ]
8288 ] , "?-url" ) ;
0 commit comments