capricorn86/happy-dom
### [`v7.7.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.7.0)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.7...v7.7.0)
##### :art: Features
- Adds support for `HTMLAnchorElement`. ([#204](https://togithub.com/capricorn86/happy-dom/issues/204))
### [`v7.6.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.7)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.6...v7.6.7)
##### :construction_worker_man: Patch fixes
- `OptionElement.value` should return `Element.textContent` as fallback. ([#648](https://togithub.com/capricorn86/happy-dom/issues/648))
### [`v7.6.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.6)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.5...v7.6.6)
##### :construction_worker_man: Patch fixes
- `Element.innerHTML` should be able to handle other types than string. ([#639](https://togithub.com/capricorn86/happy-dom/issues/639))
### [`v7.6.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.5)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.4...v7.6.5)
##### :construction_worker_man: Patch fixes
- Fixes problem with `HTMLSelectElement.selectedIndex` not reflecting the select attribute set on options. ([#637](https://togithub.com/capricorn86/happy-dom/issues/637))
### [`v7.6.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.4)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.3...v7.6.4)
##### :construction_worker_man: Patch fixes
- Makes it possible to set a CSS string to `HTMLElement.style` (e.g. `HTMLElement.style = 'color: red'`). ([#628](https://togithub.com/capricorn86/happy-dom/issues/628))
### [`v7.6.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.3)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.2...v7.6.3)
##### :construction_worker_man: Patch fixes
- Multiples fixes related to how `HTMLSelectElement.selectedIndex` and `HTMLOptionElement.selected` are handled. ([#635](https://togithub.com/capricorn86/happy-dom/issues/635))
- Setting `HTMLSelectElement.selectedIndex` to an invalid value will no longer cause an exception to be thrown. ([#635](https://togithub.com/capricorn86/happy-dom/issues/635))
### [`v7.6.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.2)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.1...v7.6.2)
##### :construction_worker_man: Patch fixes
- Adds support for wildcard searches to `Element.getElementsByTagName()` and `Document.getElementsByTagName()` (improves jQuery support). ([#633](https://togithub.com/capricorn86/happy-dom/issues/633))
### [`v7.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.1)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.0...v7.6.1)
##### :construction_worker_man: Patch fixes
- Fixes problem with sending in URL to the `Window` contructor (e.g. `new Window({ url })`). ([#627](https://togithub.com/capricorn86/happy-dom/issues/627))
### [`v7.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.0)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.14...v7.6.0)
##### :art: Features
- Adds support for `NamedNodeMap` which is used by `Element.attributes`. ([#308](https://togithub.com/capricorn86/happy-dom/issues/308))
### [`v7.5.14`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.14)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.13...v7.5.14)
##### :construction_worker_man: Patch fixes
- Fixes problem with `Element.matches()` failing when using non-matching descendant selector on element detached from document. ([#622](https://togithub.com/capricorn86/happy-dom/issues/622))
### [`v7.5.13`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.13)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.12...v7.5.13)
##### :construction_worker_man: Patch fixes
- Fixes problem related to `Element.matches()` failing when using a non-matching descendant selector on an element attached to document. ([#622](https://togithub.com/capricorn86/happy-dom/issues/622))
### [`v7.5.12`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.12)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.11...v7.5.12)
##### :construction_worker_man: Patch fixes
- `HTMLOptionElement.value` should not sanitize the value by removing new lines and trimming it. This caused a crash when the value was set to another type than "string". ([#620](https://togithub.com/capricorn86/happy-dom/issues/620))
### [`v7.5.11`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.11)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.10...v7.5.11)
##### :construction_worker_man: Patch fixes
- `HTMLSelectElement.options.add()` and `HTMLSelectElement.options.remove()` has to update the actual DOM
- `HTMLSelectElement.appendChild()`, `HTMLSelectElement.beforeChild()` and `HTMLSelectElement.removeChild()` has to update the option elements in `HTMLSelectElement.options`
- `HTMLSelectElement.options.selectedIndex` was not updated correctly after removing a selected option
- Adds support for `HTMLSelectElement.length`
- `HTMLSelectElement` now supports to do get options by index (e.g. `select[1]`)
### [`v7.5.10`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.10)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.9...v7.5.10)
##### :construction_worker_man: Patch fixes
- Adds check for if the active element is of type Element before handling custom elements by calling `Element.getRootNode()`. ([#467](https://togithub.com/capricorn86/happy-dom/issues/467))
### [`v7.5.9`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.9)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.8...v7.5.9)
##### :construction_worker_man: Patch fixes
- Fixes problem with `Document.activeElement` still pointing to an Element that has been disconnected from the DOM. ([#456](https://togithub.com/capricorn86/happy-dom/issues/456))
### [`v7.5.8`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.8)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.7...v7.5.8)
##### :construction_worker_man: Patch fixes
- `Element.matches()` not working properly with descendant combinators. ([#614](https://togithub.com/capricorn86/happy-dom/issues/614))
### [`v7.5.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.7)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.6...v7.5.7)
##### :construction_worker_man: Patch fixes
- Fixes issue related to sending in other types of values than string to CSSStyleDeclaration properties, causing the property parser to throw an error. ([#612](https://togithub.com/capricorn86/happy-dom/issues/612))
### [`v7.5.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.6)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.5...v7.5.6)
##### :construction_worker_man: Patch fixes
- Does not set Event.target and Event.currrentTarget directly to solve a problem with Vitest typechecking the internals of Happy DOM. ([#544](https://togithub.com/capricorn86/happy-dom/issues/544))
### [`v7.5.5`](https://togithub.com/capricorn86/happy-dom/compare/v7.5.4...v7.5.5)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.4...v7.5.5)
### [`v7.5.4`](https://togithub.com/capricorn86/happy-dom/compare/v7.5.3...v7.5.4)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.3...v7.5.4)
### [`v7.5.3`](https://togithub.com/capricorn86/happy-dom/compare/v7.5.2...v7.5.3)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.2...v7.5.3)
### [`v7.5.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.2)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.1...v7.5.2)
##### :construction_worker_man: Patch fixes
- Fixes problem in the "global-registrator" package where unregister only deletes/pops half the registered keys. ([#603](https://togithub.com/capricorn86/happy-dom/issues/603))
### [`v7.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.1)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.0...v7.5.1)
##### :construction_worker_man: Patch fixes
- Add toStringTag in Element class to handle Object.prototype.toString.call on implemented element classes. ([#540](https://togithub.com/capricorn86/happy-dom/issues/540))
### [`v7.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.0)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.4.0...v7.5.0)
##### :art: Features
- Improves performance of `window.getComputedStyle()` by adding a cache that gets updated whenever something happens to the DOM tree (appendChild, removeChild etc.). ([#599](https://togithub.com/capricorn86/happy-dom/issues/599))
- Adds support for CSS selector priority to `window.getComputedStyle()`. ([#599](https://togithub.com/capricorn86/happy-dom/issues/599))
- Adds support for selectors with parent elements to `Element.matches()`. ([#599](https://togithub.com/capricorn86/happy-dom/issues/599))
### [`v7.4.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.4.0)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.3.0...v7.4.0)
##### :art: Features
- Adds support for the "on{event}" properties on all Node types. This will solve the problem of React believing that Happy DOM is a legacy browser, which caused an error where it could not find the method detachEvent(). ([#534](https://togithub.com/capricorn86/happy-dom/issues/534))
### [`v7.3.0`](https://togithub.com/capricorn86/happy-dom/compare/v7.2.0...v7.3.0)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.2.0...v7.3.0)
### [`v7.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.2.0)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.1.1...v7.2.0)
##### :art: Features
- Adds support for HTMLMediaElement. ([#475](https://togithub.com/capricorn86/happy-dom/issues/475))
### [`v7.1.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.1.1)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.1.0...v7.1.1)
##### :construction_worker_man: Patch fixes
- Fixes problem in the "global-registrator" package that makes it impossible to register Happy DOM globally again after unregistering it. ([#584](https://togithub.com/capricorn86/happy-dom/issues/584))
### [`v7.1.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.1.0)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.6...v7.1.0)
##### :art: Features
- Adds support for HTMLButtonElement. ([#581](https://togithub.com/capricorn86/happy-dom/issues/581))
### [`v7.0.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.6)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.5...v7.0.6)
##### :construction_worker_man: Patch fixes
- Updates the documentation for how to set window.innerWidth and window.innerHeight. ([#592](https://togithub.com/capricorn86/happy-dom/issues/592))
### [`v7.0.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.5)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.4...v7.0.5)
##### :construction_worker_man: Patch fixes
- Fixes issue related to `querySelector()` and `querySelectorAll()` not supporting queries combined with IDs (e.g. "tag-name#id"). ([#576](https://togithub.com/capricorn86/happy-dom/issues/576))
### [`v7.0.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.4)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.3...v7.0.4)
##### :construction_worker_man: Patch fixes
- Fixes problem with parsing of childless elements whose tag names are in different case. ([#566](https://togithub.com/capricorn86/happy-dom/issues/566))
### [`v7.0.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.3)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.2...v7.0.3)
##### :construction_worker_man: Patch fixes
- Fixes bug related to parentNode being null in TreeWalker. ([#558](https://togithub.com/capricorn86/happy-dom/issues/558))
### [`v7.0.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.2)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.1...v7.0.2)
##### :construction_worker_man: Patch fixes
- Use current timestamp in `window.requestAnimationFrame()` callback. ([#554](https://togithub.com/capricorn86/happy-dom/issues/554))
### [`v7.0.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.1)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.0...v7.0.1)
##### :construction_worker_man: Patch fixes
- Github action stuck in pull requests. ([#586](https://togithub.com/capricorn86/happy-dom/issues/586))
### [`v7.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.0)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v6.0.4...v7.0.0)
##### :bomb: Breaking Changes
- Changes how CSS properties in `CSSStyleDeclaration` are parsed, which potentially can break applications ([#344](https://togithub.com/capricorn86/happy-dom/issues/344))
- Window.innerWidth and Window.innerHeight is now set to 0 as it is possible to send in the values to the constructor ([#344](https://togithub.com/capricorn86/happy-dom/issues/344))
##### :art: Features
- Improves support for `CSSStyleDeclaration` ([#344](https://togithub.com/capricorn86/happy-dom/issues/344))
- Parsing and validating of shorthand CSS properties (border, font, background etc.)
- Parsing and validating of the most common CSS properties (width, height, visibility etc.)
- Adds support for `CSSStyleDeclaration.getPropertyPriority()`
- Adds a cache to improve performance
- Adds typescript typing for all CSS properties
- Improves support for `Window.getComputedStyle()` ([#344](https://togithub.com/capricorn86/happy-dom/issues/344))
- Applies styles from `
This PR contains the following updates:
6.0.4
->7.7.0
Release Notes
capricorn86/happy-dom
### [`v7.7.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.7.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.7...v7.7.0) ##### :art: Features - Adds support for `HTMLAnchorElement`. ([#204](https://togithub.com/capricorn86/happy-dom/issues/204)) ### [`v7.6.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.6...v7.6.7) ##### :construction_worker_man: Patch fixes - `OptionElement.value` should return `Element.textContent` as fallback. ([#648](https://togithub.com/capricorn86/happy-dom/issues/648)) ### [`v7.6.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.5...v7.6.6) ##### :construction_worker_man: Patch fixes - `Element.innerHTML` should be able to handle other types than string. ([#639](https://togithub.com/capricorn86/happy-dom/issues/639)) ### [`v7.6.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.4...v7.6.5) ##### :construction_worker_man: Patch fixes - Fixes problem with `HTMLSelectElement.selectedIndex` not reflecting the select attribute set on options. ([#637](https://togithub.com/capricorn86/happy-dom/issues/637)) ### [`v7.6.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.3...v7.6.4) ##### :construction_worker_man: Patch fixes - Makes it possible to set a CSS string to `HTMLElement.style` (e.g. `HTMLElement.style = 'color: red'`). ([#628](https://togithub.com/capricorn86/happy-dom/issues/628)) ### [`v7.6.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.2...v7.6.3) ##### :construction_worker_man: Patch fixes - Multiples fixes related to how `HTMLSelectElement.selectedIndex` and `HTMLOptionElement.selected` are handled. ([#635](https://togithub.com/capricorn86/happy-dom/issues/635)) - Setting `HTMLSelectElement.selectedIndex` to an invalid value will no longer cause an exception to be thrown. ([#635](https://togithub.com/capricorn86/happy-dom/issues/635)) ### [`v7.6.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.1...v7.6.2) ##### :construction_worker_man: Patch fixes - Adds support for wildcard searches to `Element.getElementsByTagName()` and `Document.getElementsByTagName()` (improves jQuery support). ([#633](https://togithub.com/capricorn86/happy-dom/issues/633)) ### [`v7.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.6.0...v7.6.1) ##### :construction_worker_man: Patch fixes - Fixes problem with sending in URL to the `Window` contructor (e.g. `new Window({ url })`). ([#627](https://togithub.com/capricorn86/happy-dom/issues/627)) ### [`v7.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.6.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.14...v7.6.0) ##### :art: Features - Adds support for `NamedNodeMap` which is used by `Element.attributes`. ([#308](https://togithub.com/capricorn86/happy-dom/issues/308)) ### [`v7.5.14`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.14) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.13...v7.5.14) ##### :construction_worker_man: Patch fixes - Fixes problem with `Element.matches()` failing when using non-matching descendant selector on element detached from document. ([#622](https://togithub.com/capricorn86/happy-dom/issues/622)) ### [`v7.5.13`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.13) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.12...v7.5.13) ##### :construction_worker_man: Patch fixes - Fixes problem related to `Element.matches()` failing when using a non-matching descendant selector on an element attached to document. ([#622](https://togithub.com/capricorn86/happy-dom/issues/622)) ### [`v7.5.12`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.12) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.11...v7.5.12) ##### :construction_worker_man: Patch fixes - `HTMLOptionElement.value` should not sanitize the value by removing new lines and trimming it. This caused a crash when the value was set to another type than "string". ([#620](https://togithub.com/capricorn86/happy-dom/issues/620)) ### [`v7.5.11`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.11) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.10...v7.5.11) ##### :construction_worker_man: Patch fixes - `HTMLSelectElement.options.add()` and `HTMLSelectElement.options.remove()` has to update the actual DOM - `HTMLSelectElement.appendChild()`, `HTMLSelectElement.beforeChild()` and `HTMLSelectElement.removeChild()` has to update the option elements in `HTMLSelectElement.options` - `HTMLSelectElement.options.selectedIndex` was not updated correctly after removing a selected option - Adds support for `HTMLSelectElement.length` - `HTMLSelectElement` now supports to do get options by index (e.g. `select[1]`) ### [`v7.5.10`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.10) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.9...v7.5.10) ##### :construction_worker_man: Patch fixes - Adds check for if the active element is of type Element before handling custom elements by calling `Element.getRootNode()`. ([#467](https://togithub.com/capricorn86/happy-dom/issues/467)) ### [`v7.5.9`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.9) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.8...v7.5.9) ##### :construction_worker_man: Patch fixes - Fixes problem with `Document.activeElement` still pointing to an Element that has been disconnected from the DOM. ([#456](https://togithub.com/capricorn86/happy-dom/issues/456)) ### [`v7.5.8`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.8) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.7...v7.5.8) ##### :construction_worker_man: Patch fixes - `Element.matches()` not working properly with descendant combinators. ([#614](https://togithub.com/capricorn86/happy-dom/issues/614)) ### [`v7.5.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.6...v7.5.7) ##### :construction_worker_man: Patch fixes - Fixes issue related to sending in other types of values than string to CSSStyleDeclaration properties, causing the property parser to throw an error. ([#612](https://togithub.com/capricorn86/happy-dom/issues/612)) ### [`v7.5.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.5...v7.5.6) ##### :construction_worker_man: Patch fixes - Does not set Event.target and Event.currrentTarget directly to solve a problem with Vitest typechecking the internals of Happy DOM. ([#544](https://togithub.com/capricorn86/happy-dom/issues/544)) ### [`v7.5.5`](https://togithub.com/capricorn86/happy-dom/compare/v7.5.4...v7.5.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.4...v7.5.5) ### [`v7.5.4`](https://togithub.com/capricorn86/happy-dom/compare/v7.5.3...v7.5.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.3...v7.5.4) ### [`v7.5.3`](https://togithub.com/capricorn86/happy-dom/compare/v7.5.2...v7.5.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.2...v7.5.3) ### [`v7.5.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.1...v7.5.2) ##### :construction_worker_man: Patch fixes - Fixes problem in the "global-registrator" package where unregister only deletes/pops half the registered keys. ([#603](https://togithub.com/capricorn86/happy-dom/issues/603)) ### [`v7.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.5.0...v7.5.1) ##### :construction_worker_man: Patch fixes - Add toStringTag in Element class to handle Object.prototype.toString.call on implemented element classes. ([#540](https://togithub.com/capricorn86/happy-dom/issues/540)) ### [`v7.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.5.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.4.0...v7.5.0) ##### :art: Features - Improves performance of `window.getComputedStyle()` by adding a cache that gets updated whenever something happens to the DOM tree (appendChild, removeChild etc.). ([#599](https://togithub.com/capricorn86/happy-dom/issues/599)) - Adds support for CSS selector priority to `window.getComputedStyle()`. ([#599](https://togithub.com/capricorn86/happy-dom/issues/599)) - Adds support for selectors with parent elements to `Element.matches()`. ([#599](https://togithub.com/capricorn86/happy-dom/issues/599)) ### [`v7.4.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.4.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.3.0...v7.4.0) ##### :art: Features - Adds support for the "on{event}" properties on all Node types. This will solve the problem of React believing that Happy DOM is a legacy browser, which caused an error where it could not find the method detachEvent(). ([#534](https://togithub.com/capricorn86/happy-dom/issues/534)) ### [`v7.3.0`](https://togithub.com/capricorn86/happy-dom/compare/v7.2.0...v7.3.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.2.0...v7.3.0) ### [`v7.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.1.1...v7.2.0) ##### :art: Features - Adds support for HTMLMediaElement. ([#475](https://togithub.com/capricorn86/happy-dom/issues/475)) ### [`v7.1.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.1.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.1.0...v7.1.1) ##### :construction_worker_man: Patch fixes - Fixes problem in the "global-registrator" package that makes it impossible to register Happy DOM globally again after unregistering it. ([#584](https://togithub.com/capricorn86/happy-dom/issues/584)) ### [`v7.1.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.1.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.6...v7.1.0) ##### :art: Features - Adds support for HTMLButtonElement. ([#581](https://togithub.com/capricorn86/happy-dom/issues/581)) ### [`v7.0.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.5...v7.0.6) ##### :construction_worker_man: Patch fixes - Updates the documentation for how to set window.innerWidth and window.innerHeight. ([#592](https://togithub.com/capricorn86/happy-dom/issues/592)) ### [`v7.0.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.4...v7.0.5) ##### :construction_worker_man: Patch fixes - Fixes issue related to `querySelector()` and `querySelectorAll()` not supporting queries combined with IDs (e.g. "tag-name#id"). ([#576](https://togithub.com/capricorn86/happy-dom/issues/576)) ### [`v7.0.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.3...v7.0.4) ##### :construction_worker_man: Patch fixes - Fixes problem with parsing of childless elements whose tag names are in different case. ([#566](https://togithub.com/capricorn86/happy-dom/issues/566)) ### [`v7.0.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.2...v7.0.3) ##### :construction_worker_man: Patch fixes - Fixes bug related to parentNode being null in TreeWalker. ([#558](https://togithub.com/capricorn86/happy-dom/issues/558)) ### [`v7.0.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.1...v7.0.2) ##### :construction_worker_man: Patch fixes - Use current timestamp in `window.requestAnimationFrame()` callback. ([#554](https://togithub.com/capricorn86/happy-dom/issues/554)) ### [`v7.0.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v7.0.0...v7.0.1) ##### :construction_worker_man: Patch fixes - Github action stuck in pull requests. ([#586](https://togithub.com/capricorn86/happy-dom/issues/586)) ### [`v7.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v7.0.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v6.0.4...v7.0.0) ##### :bomb: Breaking Changes - Changes how CSS properties in `CSSStyleDeclaration` are parsed, which potentially can break applications ([#344](https://togithub.com/capricorn86/happy-dom/issues/344)) - Window.innerWidth and Window.innerHeight is now set to 0 as it is possible to send in the values to the constructor ([#344](https://togithub.com/capricorn86/happy-dom/issues/344)) ##### :art: Features - Improves support for `CSSStyleDeclaration` ([#344](https://togithub.com/capricorn86/happy-dom/issues/344)) - Parsing and validating of shorthand CSS properties (border, font, background etc.) - Parsing and validating of the most common CSS properties (width, height, visibility etc.) - Adds support for `CSSStyleDeclaration.getPropertyPriority()` - Adds a cache to improve performance - Adds typescript typing for all CSS properties - Improves support for `Window.getComputedStyle()` ([#344](https://togithub.com/capricorn86/happy-dom/issues/344)) - Applies styles from `