Skip to content

Commit 36cee5d

Browse files
committed
use tabs
1 parent 113b7de commit 36cee5d

File tree

1 file changed

+50
-44
lines changed

1 file changed

+50
-44
lines changed

test/test-cases.js

Lines changed: 50 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -361,50 +361,56 @@ module.exports = {
361361
] }
362362
])
363363
],
364-
"nested pseudo class with multiple selectors (:is)": [
365-
":is( h1, h2 )",
366-
singleSelector([
367-
{
368-
type: "nested-pseudo-class",
369-
name: "is",
370-
nodes: [
371-
{
372-
type: "selector",
373-
nodes: [{ type: "element", name: "h1" }],
374-
before: " ",
375-
},
376-
{
377-
type: "selector",
378-
nodes: [{ type: "element", name: "h2" }],
379-
before: " ",
380-
after: " ",
381-
},
382-
],
383-
},
384-
]),
385-
],
386-
"nested pseudo class with multiple selectors (:where)": [
387-
":where( h1, h2 )",
388-
singleSelector([
389-
{
390-
type: "nested-pseudo-class",
391-
name: "where",
392-
nodes: [
393-
{
394-
type: "selector",
395-
nodes: [{ type: "element", name: "h1" }],
396-
before: " ",
397-
},
398-
{
399-
type: "selector",
400-
nodes: [{ type: "element", name: "h2" }],
401-
before: " ",
402-
after: " ",
403-
},
404-
],
405-
},
406-
]),
407-
],
364+
"nested pseudo class with multiple selectors (:is)": [
365+
":is( h1, h2 )",
366+
singleSelector([{
367+
type: "nested-pseudo-class",
368+
name: "is",
369+
nodes: [{
370+
type: "selector",
371+
nodes: [{
372+
type: "element",
373+
name: "h1"
374+
}],
375+
before: " ",
376+
},
377+
{
378+
type: "selector",
379+
nodes: [{
380+
type: "element",
381+
name: "h2"
382+
}],
383+
before: " ",
384+
after: " ",
385+
},
386+
],
387+
}, ]),
388+
],
389+
"nested pseudo class with multiple selectors (:where)": [
390+
":where( h1, h2 )",
391+
singleSelector([{
392+
type: "nested-pseudo-class",
393+
name: "where",
394+
nodes: [{
395+
type: "selector",
396+
nodes: [{
397+
type: "element",
398+
name: "h1"
399+
}],
400+
before: " ",
401+
},
402+
{
403+
type: "selector",
404+
nodes: [{
405+
type: "element",
406+
name: "h2"
407+
}],
408+
before: " ",
409+
after: " ",
410+
},
411+
],
412+
}, ]),
413+
],
408414
"available nested pseudo classes": [
409415
":not(:active):matches(:focus)",
410416
singleSelector([

0 commit comments

Comments
 (0)