Skip to content

Commit

Permalink
Don't separate out media queries after one has bubbled (#1898)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 authored Apr 11, 2023
1 parent 14407b0 commit 752860e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions spec/css/media/bubbling.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,31 @@
}
}
}

<===>
================================================================================
<===> preserve_merge_after_bubble/input.scss
// Regression test for sass/dart-sass#777
@media (a: b) {
@media (c: d) {
e {f: g}
}

h {i: j}
k {l: m}
}

<===> preserve_merge_after_bubble/output.css
@media (a: b) and (c: d) {
e {
f: g;
}
}
@media (a: b) {
h {
i: j;
}
k {
l: m;
}
}

0 comments on commit 752860e

Please sign in to comment.