Releases: capricorn86/happy-dom
Releases · capricorn86/happy-dom
v14.10.1
v14.10.0
🎨 Features
- Adds support for
Document.elementFromPoint()
- By @TreyVigus in task #1400- The method will always return
null
as Happy DOM doesn't support rendering and can't calculate an element's position based on where it is rendered
- The method will always return
v14.9.0
v14.8.3
👷♂️ Patch fixes
- Fixes issue related to
Element.insertBefore()
not removing comment node from previous ancestor - By @mdafanasev in task #1406
v14.8.2
👷♂️ Patch fixes
- Changes implementation to return
HTMLCollection
instead ofNodeList
inDocument.forms
- By @jean-leonco in task #1349
v14.8.1
v14.8.0
v14.7.1
👷♂️ Patch fixes
- Adds support for using
Node.prototype.cloneNode.call(element)
,Node.prototype.appendChild.call(element)
,Node.prototype.removeChild.call(element)
,Node.prototype.insertBefore.call(element)
andNode.prototype.replaceChild.call(element)
, which Svelte v5 relies on - By @capricorn86 in task #1392
v14.7.0
🎨 Features
- Adds support for constructing
Text
andComment
using the new operator - By @capricorn86 in task #1387- E.g.
new Text('text')
ornew Comment('comment')
- E.g.
v14.6.2
👷♂️ Patch fixes
- Makes it possible to spy on
Storage.prototype
methods - By @capricorn86 in task #1377- Read more about this in the Wiki under Use as Test Environment