@media
no longer consumes everything after it as children
This commit is contained in:
parent
84f52d2ef4
commit
4b98ec198d
@ -1066,7 +1066,7 @@ impl<'a> Parser<'a> {
|
||||
at_root_has_selector: self.at_root_has_selector,
|
||||
extender: self.extender,
|
||||
}
|
||||
.parse()?;
|
||||
.parse_stmt()?;
|
||||
|
||||
let mut rules = Vec::with_capacity(raw_body.len());
|
||||
let mut body = Vec::new();
|
||||
|
@ -1360,7 +1360,6 @@ test!(
|
||||
".bar {\n a: b;\n}\n"
|
||||
);
|
||||
test!(
|
||||
#[ignore = "media queries are not yet parsed correctly"]
|
||||
media_inside_placeholder,
|
||||
"%foo {bar {@media screen {a {b: c}}}}
|
||||
.baz {c: d}
|
||||
|
Loading…
x
Reference in New Issue
Block a user