mirror of
https://github.com/less/less.js.git
synced 2026-01-13 09:18:03 -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>
70 lines
1.0 KiB
CSS
70 lines
1.0 KiB
CSS
@charset "utf-8";
|
|
.other {
|
|
trans: transitive;
|
|
}
|
|
.class {
|
|
trans: transitive;
|
|
global: global;
|
|
local: test-local();
|
|
shadow: global;
|
|
}
|
|
.class .local {
|
|
global: global;
|
|
local: local;
|
|
shadow: local;
|
|
}
|
|
.class {
|
|
ns-mixin-global: global;
|
|
ns-mixin-local: local;
|
|
ns-mixin-shadow: local;
|
|
mixin-local: local;
|
|
mixin-global: global;
|
|
mixin-shadow: local;
|
|
ruleset-local: local;
|
|
ruleset-global: global;
|
|
ruleset-shadow: local;
|
|
class-local: test-local();
|
|
}
|
|
@media screen {
|
|
.test-rule {
|
|
result: global;
|
|
}
|
|
}
|
|
@font-face {
|
|
result: global;
|
|
}
|
|
@media screen and (min-width: 100px) and (max-width: 400px) {
|
|
.test-rule {
|
|
result: global;
|
|
}
|
|
}
|
|
@media screen {
|
|
.test-rule {
|
|
result: local;
|
|
}
|
|
}
|
|
.root {
|
|
prop: value;
|
|
}
|
|
.test-rule-empty {
|
|
val1: foo;
|
|
val2: foo;
|
|
}
|
|
.test-rule-simple {
|
|
value: 3.141592653589793;
|
|
value: 6.28318531;
|
|
}
|
|
.test-rule-conflicts {
|
|
value: foo;
|
|
}
|
|
.test-rule-conflicts {
|
|
value: bar;
|
|
}
|
|
.test-rule-conflicts {
|
|
value: foo;
|
|
}
|
|
.test-rule-collection {
|
|
list: 32, 5, "bird";
|
|
}
|
|
@arbitrary value after ();
|