🎨 Features
- Adds support for
CustomElementRegistry.getName()
- By @mash-graz in task #1176 - Adds support for
await Window.happyDOM.close()
, which makes it possible to wait for the teardown to be completed in a detached window - By @capricorn86 in task #1176
👷♂️ Patch fixes
- Use
Element.localName
correctly inDocument.createElement()
andDocument.createElementNS()
- By @capricorn86 in task #1176 - Set correct
namespaceURI
for "xmlns" attribute when parsing SVGs - By @capricorn86 in task #1176 - Fixes problem related to window being "null" during teardown/close - By @capricorn86 in task #1176
- Validate custom element name in
CustomElementRegistry
- By @mash-graz in task #1176 - Prevent registration of the same
HTMLElement
class with different name inCustomElementRegistry
- By @mash-graz in task #1176