Skip to content

Stale csp docs note #16625

Description

@bo0tzz

Describe the bug

The docs at https://svelte.dev/docs/kit/configuration#csp have a note:

Note that most Svelte transitions work by creating an inline <style> element. If you use these in your app, you must either leave the style-src directive unspecified or add unsafe-inline.

I think this might be stale? As far as I'm able to tell this seems to no longer be the case in Svelte 5.

Reproduction

Logs

System Info

-

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions