@less/test-data 4.6.3-beta.0 → 4.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "4.6.3-beta.0",
6
+ "version": "4.6.4",
7
7
  "description": "Less files and CSS results",
8
8
  "author": "Alexis Sellier <self@cloudhead.net>",
9
9
  "contributors": [
@@ -197,3 +197,27 @@ a:is(.b, :is(.c)) {
197
197
  a:is(.b, :is(.c), :has(div)) {
198
198
  color: red;
199
199
  }
200
+ :is(:not(:has(>.foo)), :has(>.foo.bar)) {
201
+ overflow: clip;
202
+ }
203
+ :matches(:not(:has(>.foo)), :has(>.foo.bar)) {
204
+ overflow: clip;
205
+ }
206
+ :where(:not(:has(>.foo)), :has(>.foo.bar)) {
207
+ overflow: clip;
208
+ }
209
+ :is(:has(>.foo + .bar), :has(>.baz ~ .qux), :not(:has(.quux))) {
210
+ color: blue;
211
+ }
212
+ :where(.a, .b, .c) {
213
+ color: red;
214
+ }
215
+ :not(.a, .b, .c) {
216
+ color: green;
217
+ }
218
+ :where(:is(.a, .b), :has(>.c)) {
219
+ color: blue;
220
+ }
221
+ :is(:where(:has(.foo)), :not(:has(.bar))) {
222
+ color: purple;
223
+ }
@@ -216,3 +216,36 @@ a:is(.b, :is(.c)) {
216
216
  a:is(.b, :is(.c), :has(div)) {
217
217
  color: red;
218
218
  }
219
+
220
+ // https://github.com/less/less.js/issues/4378
221
+ :is(:not(:has(>.foo)), :has(>.foo.bar)) {
222
+ overflow: clip;
223
+ }
224
+
225
+ :matches(:not(:has(>.foo)), :has(>.foo.bar)) {
226
+ overflow: clip;
227
+ }
228
+
229
+ :where(:not(:has(>.foo)), :has(>.foo.bar)) {
230
+ overflow: clip;
231
+ }
232
+
233
+ :is(:has(>.foo + .bar), :has(>.baz ~ .qux), :not(:has(.quux))) {
234
+ color: blue;
235
+ }
236
+
237
+ :where(.a, .b, .c) {
238
+ color: red;
239
+ }
240
+
241
+ :not(.a, .b, .c) {
242
+ color: green;
243
+ }
244
+
245
+ :where(:is(.a, .b), :has(>.c)) {
246
+ color: blue;
247
+ }
248
+
249
+ :is(:where(:has(.foo)), :not(:has(.bar))) {
250
+ color: purple;
251
+ }