You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It lacks Selection implementation, so I've tried to add rangy library to loaded documents (mainly for innerText emulation, see jsdom/jsdom#1245).
However when I add a rangy-core.js path to the jsdom.env() initializer, I get window.rangy object with rangy.supported as false and core methods undefined.
Could you consider at least to check what else is lacking in the jsdom for rangy compatibility?
The text was updated successfully, but these errors were encountered:
jsdom is a popular implementation of DOM for Node.js. It can load and parse documents with adding external libraries to them:
https://github.com/tmpvar/jsdom
It lacks
Selection
implementation, so I've tried to add rangy library to loaded documents (mainly forinnerText
emulation, see jsdom/jsdom#1245).However when I add a
rangy-core.js
path to thejsdom.env()
initializer, I getwindow.rangy
object withrangy.supported
asfalse
and core methods undefined.Could you consider at least to check what else is lacking in the jsdom for rangy compatibility?
The text was updated successfully, but these errors were encountered: