added unit test illustrating issue #198 (CSS Relative Paths with…

added unit test illustrating issue #198 (CSS Relative Paths with querystring/hash are not converted)
parent 77153842
......@@ -9,6 +9,9 @@
.relative-url {
background-image: url(../images/sprite-buttons.png);
}
.relative-url-querystring {
background-image: url(../images/sprite-buttons.png?v=1.0#foo=bar);
}
.absolute-url {
background-image: url(/images/sprite-buttons.png);
}
......
......@@ -115,6 +115,9 @@ class CompressorTest(TestCase):
.relative-url {
background-image: url(../pipeline/images/sprite-buttons.png);
}
.relative-url-querystring {
background-image: url(../pipeline/images/sprite-buttons.png?v=1.0#foo=bar);
}
.absolute-url {
background-image: url(/images/sprite-buttons.png);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment