WebReflection / linkedom

A triple-linked lists based DOM implementation.
https://webreflection.medium.com/linkedom-a-jsdom-alternative-53dd8f699311
ISC License
1.66k stars 80 forks source link

fix: getRootNode() bug #213

Closed luwes closed 1 year ago

luwes commented 1 year ago

the <html> element is HTMLHtmlElement

getRootNode() returns

An object inheriting from Node. This will differ in exact form depending on where you called getRootNode(); for example: