mirror of https://github.com/sveltejs/svelte
Merge ef3020413c into ce89035ecb
commit
657f6c1aee
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: preserve global CSS in components without scopable elements
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
warnings: []
|
||||||
|
});
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
:export { foo: red; }
|
||||||
|
:is(td, th) { color: red; }
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
<svelte:head><meta name="x" content="y" /></svelte:head>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
:export { foo: red; }
|
||||||
|
:is(:global(td), :global(th)) { color: red; }
|
||||||
|
</style>
|
||||||
Loading…
Reference in new issue