diff --git a/test/css/import-reference.css b/test/css/import-reference.css index 4dc5490b..0d06c2bf 100644 --- a/test/css/import-reference.css +++ b/test/css/import-reference.css @@ -74,3 +74,9 @@ div#id.class[a=1][b=2].class:not(1) { color: red; } } +.test { + color: red; +} +.test:first-child { + color: blue; +} diff --git a/test/less/import-reference.less b/test/less/import-reference.less index e1477c50..77df43ba 100644 --- a/test/less/import-reference.less +++ b/test/less/import-reference.less @@ -19,3 +19,4 @@ .class:extend(.class all) { } +.mixin-with-nested-selectors(); \ No newline at end of file diff --git a/test/less/import/import-reference.less b/test/less/import/import-reference.less index f8f96425..f4c9c74d 100644 --- a/test/less/import/import-reference.less +++ b/test/less/import/import-reference.less @@ -49,7 +49,7 @@ color: red; } } - +//https://github.com/less/less.js/issues/2359 @supports (something: else) { .class { something: else; @@ -63,3 +63,12 @@ something: else; } } +//https://github.com/less/less.js/issues/1979 +.mixin-with-nested-selectors() { + .test { + color: red; + &:first-child { + color: blue; + } + } +} \ No newline at end of file