mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
Merge https://github.com/less/less.js into nested-parent-selector-2026-v1
Conflicts: lib/less/parser/parser.js lib/less/tree/ruleset.js
This commit is contained in:
@@ -80,3 +80,4 @@
|
||||
#output-block {
|
||||
comment: /* // Not commented out // */;
|
||||
}
|
||||
/*comment on last line*/
|
||||
|
||||
@@ -127,6 +127,7 @@
|
||||
mixt: rgba(255, 0, 0, 0.5);
|
||||
}
|
||||
#built-in .is-a {
|
||||
ruleset: true;
|
||||
color: true;
|
||||
color1: true;
|
||||
color2: true;
|
||||
|
||||
@@ -34,6 +34,14 @@ div#id.class[a=1][b=2].class:not(1) {
|
||||
.visible + .visible .sub {
|
||||
color: green;
|
||||
}
|
||||
@supports (something: else) {
|
||||
.class {
|
||||
something: else;
|
||||
}
|
||||
.nestedToo .class {
|
||||
something: else;
|
||||
}
|
||||
}
|
||||
.b {
|
||||
color: red;
|
||||
color: green;
|
||||
@@ -66,3 +74,20 @@ div#id.class[a=1][b=2].class:not(1) {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
.test {
|
||||
color: red;
|
||||
}
|
||||
.test:first-child {
|
||||
color: blue;
|
||||
}
|
||||
@keyframes some-name {
|
||||
property: value;
|
||||
}
|
||||
@supports (animation-name: test) {
|
||||
@keyframes some-name {
|
||||
property: value;
|
||||
}
|
||||
.selector {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,3 +43,9 @@
|
||||
.class .inner {
|
||||
test: 9;
|
||||
}
|
||||
.when-calling-nested-issue-2394 {
|
||||
width: auto !important;
|
||||
}
|
||||
.when-calling-nested-with-param-issue-2394 {
|
||||
width: 10px !important;
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ p a span {
|
||||
.bloodred {
|
||||
color: green;
|
||||
}
|
||||
#blood.blood.red.black {
|
||||
#blood.blood.red.black:blood {
|
||||
color: black;
|
||||
}
|
||||
:nth-child(3) {
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
}
|
||||
#data-uri {
|
||||
uri: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg==");
|
||||
background-image: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg=="), url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg==");
|
||||
uri-fragment: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg==#fragment");
|
||||
}
|
||||
#data-uri-guess {
|
||||
|
||||
Reference in New Issue
Block a user