chore: better test

pull/13850/head
paoloricciuti 2 years ago
parent 091f02c9cc
commit 4774d101df

@ -1,3 +1,24 @@
<script>
function is(){}
function where(){}
function not(){}
function has(){}
// looks like css but it's not in style tag
const x = {
div:is(42),
span:where(42),
form:not(42),
input:has(42),
}
</script>
what if i'm talking about `:has()` in my blog?
```css
:has(.is_cool)
```
<style lang="postcss">
div:has(span){}
div > :not(span){}

@ -1,3 +1,24 @@
<script>
function is(){}
function where(){}
function not(){}
function has(){}
// looks like css but it's not in style tag
const x = {
div:is(42),
span:where(42),
form:not(42),
input:has(42),
}
</script>
what if i'm talking about `:has()` in my blog?
```css
:has(.is_cool)
```
<style lang="postcss">
div:has(:global(span)){}
div > :not(:global(span)){}

Loading…
Cancel
Save