mirror of
https://github.com/less/less.js.git
synced 2026-01-10 07:48:04 -05:00
* Migrate Less to use valid CSS * Re-organize test structure * Lots of test refactoring * More test updates * Add restructured tests * WIP Signed-off-by: Matthew Dean <matthew-dean@users.noreply.github.com> * More fixes to tests * More test fixes * All tests passing * WIP fix tests * Finished fixing browser tests * Improve test coverage * Add debug tests * Add back debug tests to show equal test coverage * Fix browser tests * More test coverage * Fix sourcemap absolute path for CI * More source map normalization for Windows * Fix source map normalization * Another attempted fix for Windows --------- Signed-off-by: Matthew Dean <matthew-dean@users.noreply.github.com>
33 lines
323 B
Plaintext
33 lines
323 B
Plaintext
@charset "UTF-8";
|
|
|
|
@import "import/test.less";
|
|
|
|
.start() {
|
|
.test-rule2 {
|
|
color: red;
|
|
}
|
|
}
|
|
|
|
.mix() {
|
|
color: black;
|
|
}
|
|
|
|
.test-rule1 {
|
|
.mix();
|
|
}
|
|
|
|
.start();
|
|
|
|
.mixin_import1();
|
|
|
|
.mixin_import2();
|
|
|
|
@debug: 1;
|
|
& when (@debug = 1) {
|
|
.test-rule {
|
|
color: red;
|
|
& when (@debug = 1) {
|
|
width: 2;
|
|
}
|
|
}
|
|
} |