Closed
Description
Describe the bug
Introduced in #7114
The current version clears the stylesheet and removes reference to it but leaves the empty style element behind.
Every transition creates a new style duplicate.
Previous version kept stylesheet reference as a part of the document.
Reproduction
https://svelte.dev/repl/a6eddb766f9e474c92e5a23ba0bba362?version=3.46.2
Logs
No response
System Info
REPL
Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels