mirror of https://github.com/sveltejs/svelte
fix: remove incorrect special handling of :export pseudo-selectors (#18839)
#18793 added special handling for `:export` selectors, but this is incorrect. `:export` is (apparently) part of [Interoperable CSS](https://github.com/css-modules/icss) but Svelte doesn't (and shouldn't) know what that is. No changeset because #18793 is unreleased, and the changeset in that PR didn't mention ICSSpull/18750/head
parent
a72dc8eadb
commit
8030ff2a2c
@ -1,2 +1 @@
|
||||
:export { foo: red; }
|
||||
:is(td, th) { color: red; }
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
<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