File tree 7 files changed +51
-7
lines changed
omit-scoping-attribute-global-children
omit-scoping-attribute-global-descendants
omit-scoping-attribute-multiple-descendants
7 files changed +51
-7
lines changed Original file line number Diff line number Diff line change
1
+ .root .svelte-xyz p {color : red}
Original file line number Diff line number Diff line change
1
+ < div class ="root svelte-xyz ">
2
+ < section class ="whatever svelte-xyz ">
3
+ </ section >
4
+ </ div >
Original file line number Diff line number Diff line change
1
+ <script >
2
+ export let unknown1 = ' root' ;
3
+ export let unknown2 = ' whatever' ;
4
+ </script >
5
+
6
+ <style >
7
+ .root :global(p ) {
8
+ color : red ;
9
+ }
10
+ </style >
11
+
12
+ <div class ={unknown1 }>
13
+ <section class ={unknown2 }>
14
+ <!-- injected somehow -->
15
+ </section >
16
+ </div >
Original file line number Diff line number Diff line change
1
+ html body .root .svelte-xyz p .svelte-xyz {color : red}
Original file line number Diff line number Diff line change
1
+ < div class ="root svelte-xyz ">
2
+ < section class ="whatever svelte-xyz ">
3
+ < p class ="svelte-xyz "> hello</ p >
4
+ </ section >
5
+ </ div >
Original file line number Diff line number Diff line change
1
+ <script >
2
+ export let unknown1 = ' root' ;
3
+ export let unknown2 = ' whatever' ;
4
+ </script >
5
+
6
+ <style >
7
+ :global(html ) :global(body ) .root p {
8
+ color : red ;
9
+ }
10
+ </style >
11
+
12
+ <div class ={unknown1 }>
13
+ <section class ={unknown2 }>
14
+ <p >hello</p >
15
+ </section >
16
+ </div >
Original file line number Diff line number Diff line change 1
1
<script >
2
- export let unknown = ' whatever' ;
2
+ export let unknown1 = ' root' ;
3
+ export let unknown2 = ' whatever' ;
3
4
</script >
4
5
5
- <div class =' root' >
6
- <section class =' {unknown }' >
7
- <p >hello</p >
8
- </section >
9
- </div >
10
-
11
6
<style >
12
7
.root p {
13
8
color : red ;
14
9
}
15
10
</style >
11
+
12
+ <div class ={unknown1 }>
13
+ <section class ={unknown2 }>
14
+ <p >hello</p >
15
+ </section >
16
+ </div >
You can’t perform that action at this time.
0 commit comments