We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34127ec commit b83d2d9Copy full SHA for b83d2d9
.gitignore
@@ -1,2 +1,3 @@
1
node_modules
2
npm-debug.log
3
+coverage
test/css-parser-test.js
@@ -52,4 +52,11 @@ var should = require('should')
52
var urls = parseCssUrls(text);
53
urls.should.be.empty;
54
});
55
+
56
+ it('should ignore empty urls', function(){
57
+ var text = 'div.image { background-image: url(""); } ';
58
59
+ var urls = parseCssUrls(text);
60
+ urls.should.be.empty;
61
+ });
62
0 commit comments