Skip to content

Commit 70771dc

Browse files
committed
Merge pull request webpack-contrib#27 from jhnns/add/test-filter-hash
Add test for url() statements with hashes
2 parents 7b50d4f + 67afa4b commit 70771dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/urlTest.js

+4
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ describe("url", function() {
119119
".highlight { filter: url(#highlight); }", [
120120
[1, ".highlight { filter: url(#highlight); }", ""]
121121
]);
122+
test("filter hash quotation marks",
123+
".highlight { filter: url('#line-marker'); }", [
124+
[1, ".highlight { filter: url('#line-marker'); }", ""]
125+
]);
122126
test("font face", "@font-face { src: url(regular.woff) format('woff'), url(~truetype/regular.ttf) format('truetype') }", [
123127
[1, "@font-face { src: url({./regular.woff}) format('woff'), url({truetype/regular.ttf}) format('truetype') }", ""]
124128
]);

0 commit comments

Comments
 (0)