File tree 3 files changed +25
-2
lines changed
3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,6 @@ body > .shadow {
136
136
symbols: ‣;
137
137
suffix: " ";
138
138
}
139
- @-ms-viewport {
140
- }
141
139
@unknown foo 42 (bar) {
142
140
x {
143
141
y : z;
Original file line number Diff line number Diff line change 5
5
// * #2716 - A file imported by reference and then normally - multiple imports should be independent
6
6
// * #1968 - When using an @import (reference), mixins that contain an & selector get added to the compiled output improperly
7
7
// * #2162 - Cannot put import by reference inside of a mixin (also doubles #1896)
8
+ // * #2991 - Empty @media queries generated through line comments when compiling less file with (reference)
8
9
9
10
// #1878: extend inside referenced file should not extend outside selectors
10
11
@import (reference ) " import-reference-issues/global-scope-import.less" ;
@@ -48,3 +49,5 @@ show-all-content {
48
49
call- mixin- with- import- by- reference- inside {
49
50
.mixin-with-import-by-reference-inside ();
50
51
}
52
+
53
+ @import (reference ) " import-reference-issues/comments-2991.less" ;
Original file line number Diff line number Diff line change
1
+ .referenced {
2
+ // line comment is enough to reproduce it
3
+ @media (hover ) {
4
+ // sezam
5
+ }
6
+ // repeat to prove point
7
+ @media (hover ) {
8
+ // sezam
9
+ }
10
+ // but block comment is not, huh
11
+ @media (hover ) {
12
+ /* salabim */
13
+ }
14
+ // following block does not output, needs line comment
15
+ @media (hover ) {
16
+ color : #000000 ;
17
+ }
18
+ }
19
+ // needs to be nested to fail
20
+ @media (hover ) {
21
+ // sezam
22
+ }
You can’t perform that action at this time.
0 commit comments