Skip to content

Support for CSS Anchoring properties in Style directive #15707

@imagoiq

Description

@imagoiq

Describe the bug

Hi,

I've noticed that I can't use the new CSS properties anchor-name and position-anchor in my style attribute. I guess it's because the Svelte validator does not support them?

What is the workaround? How can I disable this frustrating validation?

Reproduction

https://svelte.dev/playground/d85505659dec47b1b2c01a82309bdad7?version=5.25.8

Logs

System Info

Any
Svelte: 5.25.8

Severity

blocking all usage of svelte

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