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

<img> tag loading property not implemented #1311

Closed
totol123 opened this issue Mar 14, 2024 · 3 comments
Closed

<img> tag loading property not implemented #1311

totol123 opened this issue Mar 14, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@totol123
Copy link

totol123 commented Mar 14, 2024

Describe the bug

Working with :

  • happy-dom: 12.10.3
  • vitest: 0.34.6
  • vue: 3.4.3

I'm using API.

It raises a warning :
[Vue warn]: Failed setting prop "loading" on <img>: value lazy is invalid. TypeError: Cannot set property loading of [object Object] which has only a getter

and fail to put the attribute loading on the (I checked on snapshot.)

I tried to switch to jsdom to compare and it works.

To Reproduce
Steps to reproduce the behavior:

  1. Try to instantiate an with happy-dom

Expected behavior
Put the loading attribute to the , causing no warning

Additional context
It's a quite implemented feature
image

Thank you a lot for your work.
Anatole

@totol123 totol123 added the bug Something isn't working label Mar 14, 2024
@capricorn86
Copy link
Owner

capricorn86 commented Mar 14, 2024

Thank you for reporting @totol123! 🙂

This was fixed in v13.7.7. Please check if you are running on this version or later.

@capricorn86
Copy link
Owner

Duplicate of #1218

@capricorn86 capricorn86 marked this as a duplicate of #1218 Mar 14, 2024
@totol123
Copy link
Author

Oh I missed this, sorry for the dupplicate.
Thank you a lot.

Anatole

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