1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-30 09:09:54 +02:00

Port last of min_unit_tests, remove references to it, add composer script

This commit is contained in:
Steve Clay
2015-11-22 13:55:01 -05:00
parent 9370e96fd4
commit 316a109032
85 changed files with 12 additions and 401 deletions

View File

@@ -0,0 +1,3 @@
/* @import url('bad.css' ) bad; */
adjacent2 foo { background: red url(/red.gif); }
adjacent2 bar { background: url('../green.gif') }

View File

@@ -0,0 +1,4 @@
@import url( adjacent.css ) all;
@import '../input.css';
tv foo { background: red url(/red.gif); }
tv bar { background: url('../green.gif') }

View File

@@ -0,0 +1,4 @@
@import url(../../css/styles.css);
@import url(http://example.com/hello.css);
adjacent foo { background: red url(/red.gif); }
adjacent bar { background: url('../green.gif') }

View File

@@ -0,0 +1,5 @@
@import url(adjacent.css) screen;
@import "1/tv.css" tv, projection;
@import "../lib/css/example.css";
input foo { background: red url(/red.gif); }
input bar { background: url('../green.gif') }

View File

@@ -0,0 +1,52 @@
@media screen {
@charset "utf-8";
/* some CSS to try to exercise things in general */
@import url(/more.css);
body, td, th {
font-family: Verdana , "Bitstream Vera Sans" , Arial Narrow, sans-serif ;
font-size : 12px;
}
.nav {
margin-left: 20%;
}
#main-nav {
background-color: red;
border: 1px solid #00ff77;
}
div#content
h1 + p {
padding-top: 0;
margin-top: 0;
}
@media all and (min-width: 640px) {
#media-queries-1 { background-color: #0f0; }
}
@media screen and (max-width: 2000px) {
#media-queries-2 { background-color: #0f0; }
}
@import url(http://example.com/hello.css);
adjacent foo { background: red url(/red.gif); }
adjacent bar { background: url('../green.gif') }
}
@media tv,projection {
/* @import url('1/bad.css') bad; */
adjacent2 foo { background: red url(/red.gif); }
adjacent2 bar { background: url('green.gif') }
@import '../input.css';
tv foo { background: red url(/red.gif); }
tv bar { background: url('green.gif') }
}
input.test bar { background: url('../lib/img/green.gif') }
input foo { background: red url(/red.gif); }
input bar { background: url('../green.gif') }