ReferenceError: HTMLElement is not defined
Has anyone encountered this issue before?
Minimal reproduction repo: https://github.com/jakubdonovan/deno-sveltekit/tree/web3
GitHub
GitHub - jakubdonovan/deno-sveltekit at web3
Contribute to jakubdonovan/deno-sveltekit development by creating an account on GitHub.
![](https://utfs.io/f/21c6402b-9667-44c6-a841-4b36b164a6b1-wefvg5.55.09.png)
1 Reply
yup, Deno doesn't seem to support this and looking at the issue on Github it doesn't seem like enough people care about it for it to be implemented 😅 (which is a shame since i'd also love this for SSR purposes when working with web components)
see: https://github.com/denoland/deno/issues/6794
GitHub
Support for HTMLElement · Issue #6794 · denoland/deno
Similar to other browser globals but recognize this is an ambitious request. If web compatibility is a goal then from my perspective this should be too. Currently there are only a few options for c...