Skip to content
Snippets Groups Projects
Commit e80146eb authored by Andreas Gohr's avatar Andreas Gohr
Browse files

added another test for fe5a50

That commit did not test what it actually made for. Handling protocol
relative URLs in CSS.
parent d4b5605e
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,13 @@ class css_css_compress_test extends DokuWikiTest {
$this->assertEquals('#foo{background-image:url(http://foo.bar/baz.jpg);}', css_compress($text));
}
function test_slcom6(){
$text = '#foo {
background-image: url(//foo.bar/baz.jpg); // background-image: url(http://foo.bar/baz.jpg); this is all commented
}';
$this->assertEquals('#foo{background-image:url(//foo.bar/baz.jpg);}', css_compress($text));
}
function test_hack(){
$text = '/* Mac IE will not see this and continue with inline-block */
/* \\*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment