Releases: capricorn86/happy-dom
Releases · capricorn86/happy-dom
v13.8.5
👷♂️ Patch fixes
- Fixes problem related to invalid pseudo query selectors matching elements (e.g. ":before" should only match the pseudo element and not the actual element) - By @capricorn86 in task #1122
- Adds support for using multiple pseudo query selectors (e.g. ":first-of-type:last-of-type") - By @capricorn86 in task #1122
- Fixes minor typo in
HTMLElementConfig
- By @danbentley in task #1306
v13.8.4
👷♂️ Patch fixes
- Adds support for returning URL relative to window location in
HTMLLinkElement.href
,HTMLImageElement.src
andHTMLScriptElement.src
- By @capricorn86 in task #1135
v13.8.3
👷♂️ Patch fixes
- Fixes problem where some elements (e.g.
<li>
,<h1>
or<table>
) doesn't allow itself as direct descendant when parsing HTML, but should allow itself as descendant when it is not at first level - By @capricorn86 in task #1039
v13.8.2
👷♂️ Patch fixes
- Adds deprecated keyCode property to KeyboardEvent - By @capricorn86 in task #1043
v13.8.1
👷♂️ Patch fixes
- Fixes problem with
ClipboardItem
not supporting text and Promise as data type, causing React tests to fail, as testing-library overrides theClipboard
implementation with an implementation relying on Promise as data type - By @capricorn86 in task #1153
v13.8.0
🎨 Features
- Adds support for
Element.scrollIntoView()
- By @capricorn86 in task #1051
v13.7.8
👷♂️ Patch fixes
- Fixes problem related to constructing custom elements using the new keyword (e.g.
new CustomElement()
) - By @capricorn86 in task #1258
v13.7.7
👷♂️ Patch fixes
- Adds missing setter for the
HTMLImageElement.loading
property - By @capricorn86 in task #1218 - Adds validation for values of the
HTMLImageElement.loading
property according to spec - By @capricorn86 in task #1218
v13.7.6
👷♂️ Patch fixes
- Fixes problem related to cloning a Response twice causing
ReadableStream
to be locked - By @capricorn86 in task #1294