File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
packages/svelte/tests/migrate/samples/is-not-where-has Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ <script >
2+ function is (){}
3+ function where (){}
4+ function not (){}
5+ function has (){}
6+
7+ // looks like css but it's not in style tag
8+ const x = {
9+ div: is (42 ),
10+ span: where (42 ),
11+ form: not (42 ),
12+ input: has (42 ),
13+ }
14+ </script >
15+
16+ what if i'm talking about `:has()` in my blog?
17+
18+ ```css
19+ :has(.is_cool)
20+ ```
21+
122<style lang =" postcss" >
223 div:has (span){}
324 div > :not (span){}
Original file line number Diff line number Diff line change 1+ <script >
2+ function is (){}
3+ function where (){}
4+ function not (){}
5+ function has (){}
6+
7+ // looks like css but it's not in style tag
8+ const x = {
9+ div: is (42 ),
10+ span: where (42 ),
11+ form: not (42 ),
12+ input: has (42 ),
13+ }
14+ </script >
15+
16+ what if i'm talking about `:has()` in my blog?
17+
18+ ```css
19+ :has(.is_cool)
20+ ```
21+
122<style lang =" postcss" >
223 div:has (:global (span)){}
324 div > :not (:global (span)){}
You can’t perform that action at this time.
0 commit comments