jsdom v16.4.0 Release Notes
Release Date: 2020-08-08 // over 3 years ago-
- โ Added a not-implemented warning if you try to use the second pseudo-element argument to
getComputedStyle()
, unless you pass a::part
or::slotted
pseudo-element, in which case we throw an error per the spec. (ExE-Boss) - ๐ Improved the performance of repeated access to
el.tagName
, which also indirectly improves performance of selector matching and style computation. (eps1lon) - ๐ Fixed
form.elements
to respect theform=""
attribute, so that it can contain non-descendant form controls. (ccwebdesign) - ๐ Fixed
el.focus()
to do nothing on disconnected elements. (eps1lon) - ๐ Fixed
el.focus()
to work on SVG elements. (zjffun) - ๐ Fixed removing the currently-focused element to move focus to the
<body>
element. (eps1lon) - ๐ Fixed
imgEl.complete
to return true for<img>
elements with empty or unsetsrc=""
attributes. (strager) - ๐ Fixed
imgEl.complete
to return true if an error occurs loading the<img>
, when canvas is enabled. (strager) - ๐ Fixed
imgEl.complete
to return false if the<img>
element'ssrc=""
attribute is reset. (strager) - ๐ Fixed the
valueMissing
validation check for<input type="radio">
. (zjffun) - ๐ Fixed
translate=""
anddraggable=""
attribute processing to use ASCII case-insensitivity, instead of Unicode case-insensitivity. (zjffun)
- โ Added a not-implemented warning if you try to use the second pseudo-element argument to