Fix media query serialization.

This commit is contained in:
Natalie Weizenbaum 2016-10-18 20:44:29 -07:00
parent 3a795c6fe6
commit 29574d345a

View File

@ -132,11 +132,7 @@ class _SerializeCssVisitor
void visitMediaRule(CssMediaRule node) { void visitMediaRule(CssMediaRule node) {
_writeIndentation(); _writeIndentation();
_buffer.write("@media "); _buffer.write("@media ");
_writeBetween(node.queries, ", ", visitMediaQuery);
for (var query in node.queries) {
visitMediaQuery(query);
}
_buffer.writeCharCode($space); _buffer.writeCharCode($space);
_visitChildren(node.children); _visitChildren(node.children);
} }