-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
document.documentElement
could be null
actually
#50078
Comments
Related: #29052 (comment) I'd say over 99 % of the cases it's never |
I don't think they are same, |
I don't think this is a condition we need to make all programs concern themselves with. If you remove the element, please put it back before someone else notices it's gone 😅 |
I'm working on a DOM sanitizer at https://github.com/un-ts/domiso/blob/main/src/index.ts#L68, and it could be a |
This issue has been marked 'Working as Intended' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Bug Report
🔎 Search Terms
document.documentElement
🕗 Version & Regression Information
⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
🙂 Expected behavior
The text was updated successfully, but these errors were encountered: