separate test suite

pull/6435/head
Ignatius Bagus 5 years ago
parent 39056ab18c
commit 286fb9873a
No known key found for this signature in database
GPG Key ID: 357C6674A45CC06B

@ -0,0 +1,17 @@
[
{
"code": "css-invalid-global-selector",
"message": ":global(...) must contain a single selector",
"start": {
"line": 11,
"column": 5,
"character": 156
},
"end": {
"line": 11,
"column": 29,
"character": 180
},
"pos": 156
}
]

@ -0,0 +1,18 @@
<style>
div :global(:is(h1, h2)) {
color: red;
}
div :global(:where(h1, h2)) {
color: red;
}
div :global(h1 ~ :is(h2, h3)) {
color: red;
}
div :global(:is(h1, h2), h3) {
color: red;
}
</style>
<div>
<h1>hello world</h1>
</div>

@ -3,15 +3,15 @@
"code": "css-invalid-global-selector", "code": "css-invalid-global-selector",
"message": ":global(...) must contain a single selector", "message": ":global(...) must contain a single selector",
"start": { "start": {
"line": 14, "line": 5,
"column": 5, "column": 5,
"character": 207 "character": 58
}, },
"end": { "end": {
"line": 14, "line": 5,
"column": 24, "column": 24,
"character": 226 "character": 77
}, },
"pos": 207 "pos": 58
} }
] ]

@ -1,13 +1,4 @@
<style> <style>
div :global(:is(div, h1)) {
color: red;
}
div :global(:where(div, h1)) {
color: red;
}
div :global(div > :where(h1, h2)) {
color: red;
}
div :global(.h1\,h2\,h3) { div :global(.h1\,h2\,h3) {
color: red; color: red;
} }

Loading…
Cancel
Save