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/in.css
Normal file
17
tests/_test_files/css_uriRewriter/in.css
Normal file
@@ -0,0 +1,17 @@
|
||||
@import "foo.css";
|
||||
@import 'bar/foo.css' print;
|
||||
@import '../bar/foo.css' print;
|
||||
@import '../../foo.css' print;
|
||||
@import '/css/foo.css'; /* abs, should not alter */
|
||||
@import 'http://foo.com/css/foo.css'; /* scheme, should not alter */
|
||||
@import url(../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('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("foo bar.jpg");}
|
||||
@import url('foo bar.css');
|
||||
@import "foo bar.css";
|
Reference in New Issue
Block a user