jsdom v15.2.0 Release Notes
Release Date: 2019-10-14 // over 4 years ago-
- ➕ Added basic style inheritance in
getComputedStyle()
for the'visibility'
property. This sets the foundation for further work on inheritance, cascading, and specificity. (eps1lon) - ➕ Added
shadowRoot.activeElement
. - ➕ Added
readystatechange
events during document loading. - ➕ Added a stub for
form.requestSubmit()
, to match our existing stub forform.submit()
. - ⚡️ Changed
el.tabIndex
's default value, when notabindex=""
attribute was set, to reflect the updated specification. - ⚡️ Changed the exception thrown by
el.attachShadow()
on something that's already a shadow host, to reflect the updated specification. - 🛠 Fixed the validation logic for
<input type="range">
. - 🛠 Fixed
selectEl.value
when no<option>
is selected to return the empty string, instead of the value of the first option. (tgohn) - 🛠 Fixed various correctness issues with
new FormData(formElement)
. (brendo) - 🛠 Fixed error messages when parsing XML to include the filename, instead of using
"undefined"
. (papandreou) - 🛠 Fixed the logic for reflected properties to not be affected by overwriting of
el.getAttributeNS()
orel.setAttributeNS()
. - 👍 Set
canvas
as an optional `peerDependency
, which apparently helps with Yarn PnP support.
- ➕ Added basic style inheritance in