Skip to content

Commit 67afa4b

Browse files
committed
Add test for url() statements with hashes
1 parent 7b50d4f commit 67afa4b

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)