mirror of
https://github.com/mrclay/minify.git
synced 2025-09-02 18:32:58 +02:00
Port last of min_unit_tests, remove references to it, add composer script
This commit is contained in:
17
tests/_test_files/css_uriRewriter/exp_prepend2.css
Normal file
17
tests/_test_files/css_uriRewriter/exp_prepend2.css
Normal file
@@ -0,0 +1,17 @@
|
||||
@import "//cnd.com/A/B/foo.css";
|
||||
@import '//cnd.com/A/B/bar/foo.css' print;
|
||||
@import '//cnd.com/A/bar/foo.css' print;
|
||||
@import '//cnd.com/foo.css' print;
|
||||
@import '/css/foo.css'; /* abs, should not alter */
|
||||
@import 'http://foo.com/css/foo.css'; /* scheme, should not alter */
|
||||
@import url(//cnd.com/A/foo.css) tv, projection;
|
||||
@import url("/css/foo.css"); /* abs, should not alter */
|
||||
@import url(/css2/foo.css); /* abs, should not alter */
|
||||
@import url(foo:bar); /* scheme, should not alter */
|
||||
foo {background:url('//cnd.com/A/B/bar/foo.png')}
|
||||
foo {background:url('http://foo.com/css/foo.css');} /* scheme, should not alter */
|
||||
foo {background:url("//foo.com/css/foo.css");} /* protocol relative, should not alter */
|
||||
foo {background:url(foo:bar);} /* scheme, should not alter */
|
||||
foo {background:url("//cnd.com/A/B/foo bar.jpg");}
|
||||
@import url('//cnd.com/A/B/foo bar.css');
|
||||
@import "//cnd.com/A/B/foo bar.css";
|
Reference in New Issue
Block a user