Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support container-type CSS property #2208

Closed
amyjko opened this issue Nov 21, 2023 · 1 comment
Closed

Support container-type CSS property #2208

amyjko opened this issue Nov 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@amyjko
Copy link

amyjko commented Nov 21, 2023

Describe the bug

A CSS declaration with container-type generates an "Unknown property: 'container-type' (css)" message. This property is widely supported and probably shouldn't be a warning anymore.

Reproduction

Create a Svelte component with this style:

<style>
  div {
    container-type: inline-size;
  }
</style>

Run svelte-check, see the warning:

Warn: Unknown property: 'container-type' (css)
        container-type: inline-size;
    }

Expected behaviour

I do not expect a warning on this valid CSS property.

System Info

  • OS: mac OS 14.0
  • IDE: VS Code 1.84.2

Which package is the issue about?

svelte-check

Additional Information, eg. Screenshots

No response

@amyjko amyjko added the bug Something isn't working label Nov 21, 2023
@jasonlyu123
Copy link
Member

Closing as duplicate of #1888. Let's keep all the container-related stuff in that issue.

@jasonlyu123 jasonlyu123 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants