-
-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working
Description
Describe the bug
Trying to add the decoding Attribute on the image tag makes the language server complain that it isn't a valid attribute.
VsCodes lib.dom file includes it and the intellisense autocompletes it because it knows it exists.
It works in the browser as expected because it's a native attribute
To Reproduce
Install the svelte language server.
Create a svelte file and add img tag.
Add the decoding attribute.
Expected behavior
Shouldn't show any errors.
From MDN:
decoding
Provides an image decoding hint to the browser. Allowed values:
sync
- Decode the image synchronously, for atomic presentation with other content.
async
- Decode the image asynchronously, to reduce delay in presenting other content.
auto
- Default: no preference for the decoding mode. The browser decides what is best for the user.
System (please complete the following information):
OS: Windows 10 Education , 20H2
IDE: VSCode
Plugin: Svelte for VSCode
Metadata
Metadata
Assignees
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working

