mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
* Fix element to selector list conversion, passing all tests! * Add passing test from #3098 * Added passing test example from #1817 * Allow lists to be re-evaluated as selectors (Fixes #1694)
37 lines
486 B
CSS
37 lines
486 B
CSS
input[type=text]:focus,
|
|
input[type=email]:focus,
|
|
input[type=password]:focus,
|
|
textarea:focus {
|
|
foo: bar;
|
|
}
|
|
.a + .z,
|
|
.b + .z,
|
|
.c + .z {
|
|
color: blue;
|
|
}
|
|
.bar .d.a,
|
|
.bar .b,
|
|
.c.bar:hover,
|
|
.bar baz {
|
|
color: blue;
|
|
}
|
|
.a + .e,
|
|
.b.c + .e,
|
|
.d + .e {
|
|
foo: bar;
|
|
}
|
|
input[class="text"],
|
|
input.text {
|
|
background: red;
|
|
}
|
|
.master-page-1 .selector-1,
|
|
.master-page-1 .selector-2 {
|
|
background-color: red;
|
|
}
|
|
.fruit-apple,
|
|
.fruit-satsuma,
|
|
.fruit-banana,
|
|
.fruit-pear {
|
|
content: "Just a test.";
|
|
}
|