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 the form="" 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 unset src="" 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's src="" attribute is reset. (strager)
    • ๐Ÿ›  Fixed the valueMissing validation check for <input type="radio">. (zjffun)
    • ๐Ÿ›  Fixed translate="" and draggable="" attribute processing to use ASCII case-insensitivity, instead of Unicode case-insensitivity. (zjffun)