capricorn86 / happy-dom

A JavaScript implementation of a web browser without its graphical user interface
MIT License
3.09k stars 185 forks source link

feat: [#1398] Add support for iframe srcdoc #1399

Closed jeffwcx closed 2 months ago

jeffwcx commented 3 months ago

Implement the iframe srcdoc attribute, which should operate similarly to the src attribute but with higher priority, without the need to initiate a fetch request.

Also, I have fixed several bugs:

References:

jeffwcx commented 2 months ago

@capricorn86 can you take a look?