Files
less.js/test/css/parse-interpolation.css
Matthew Dean b8140d4baa Fixes #1421 - re-parses variable-interpolated elements to selectors (no.2) (#3227)
* 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)
2018-06-25 09:12:34 -07:00

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.";
}