properly support @media and @import features

This commit is contained in:
Alexis Sellier
2011-12-17 17:41:54 +01:00
parent 96689e4f37
commit ff3d7c61ff
10 changed files with 99 additions and 21 deletions

2
test/css/import.css vendored
View File

@@ -1,6 +1,8 @@
@import "import-test-d.css";
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
@import url(something.css) screen and (color) and (max-width: 600px);
#import {
color: #ff0000;
}

View File

@@ -14,8 +14,13 @@
max-width: 480;
}
}
@media all and (orientation:portrait) {
@media all and (orientation: portrait) {
aside {
float: none;
}
}
@media handheld and (min-width: 20em), screen and (min-width: 20em) {
body {
max-width: 480px;
}
}