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

css container query support #1888

Closed
raythurnvoid opened this issue Feb 21, 2023 · 3 comments
Closed

css container query support #1888

raythurnvoid opened this issue Feb 21, 2023 · 3 comments
Labels
bug Something isn't working Fixed Fixed in master branch. Pending production release. upstream

Comments

@raythurnvoid
Copy link

Describe the bug

image

A warning is raised when using the container CSS property: Unknown property: 'container'

image

Reproduction

Use the "container" css property.

Expected behaviour

To not show a warning.

System Info

System:
OS: Windows 10 10.0.22621
CPU: (16) x64 AMD Ryzen 9 4900H with Radeon Graphics
Memory: 17.99 GB / 31.42 GB
Binaries:
Node: 18.14.0 - C:\Program Files\nodejs\node.EXE
npm: 9.3.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.22621.1265.0), Chromium (110.0.1587.49)
Internet Explorer: 11.0.22621.1
npmPackages:
@sveltejs/kit: ^1.7.2 => 1.7.2
@sveltejs/package: ^2.0.1 => 2.0.1
svelte: ^3.55.1 => 3.55.1
vite: ^4.1.2 => 4.1.2

Which package is the issue about?

Svelte for VS Code extension

Additional Information, eg. Screenshots

No response

@raythurnvoid raythurnvoid added the bug Something isn't working label Feb 21, 2023
@gtm-nayan
Copy link
Contributor

@raythurnevoid Please check whether this issue also occurs in your editor in a plain .css file.

@raythurnvoid
Copy link
Author

raythurnvoid commented Feb 22, 2023

@raythurnevoid Please check whether this issue also occurs in your editor in a plain .css file.

It does, looks like a vscode CSS linter issue.
I've opened a new issue there: microsoft/vscode-css-languageservice#329

@jorri11
Copy link

jorri11 commented Jul 14, 2023

I get a warning on this when running svelte-check, would that indicate it is not only an issue in vscode?

@jasonlyu123 jasonlyu123 changed the title container css property is not supported css container query support Jul 20, 2023
This was referenced Nov 21, 2023
dummdidumm pushed a commit that referenced this issue Nov 24, 2023
#1888
#2024 (besides the syntax highlight which is still wrong)
@jasonlyu123 jasonlyu123 added the Fixed Fixed in master branch. Pending production release. label Nov 24, 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 Fixed Fixed in master branch. Pending production release. upstream
Projects
None yet
Development

No branches or pull requests

5 participants