jsdom v14.1.0 Release Notes

Release Date: 2019-04-21 // about 5 years ago
    • ➕ Added activation behavior for <a> and <area> elements whose href="" points to a javascript: URL or fragment.
    • ➕ Added the <datalist> element's options property.
    • ➕ Added the <input> element's list property.
    • ➕ Added PageTransitionEvent, and the firing of pageshow events during loading.
    • 🔦 Exposed the External class as a property of window.
    • 🛠 Fixed HTML fragment parsing (via innerHTML and outerHTML) to be spec-compliant. (pmdartus)
    • 🛠 Fixed HTML serialization (e.g. via innerHTML) breaking after setting certain properties to non-string values.
    • 🛠 Fixed how disabling an element would cause its activation behavior to forever be null, even if it were re-enabled.
    • 🛠 Fixed all access to attributes to ignore attributes with namespaces, per the spec.
    • 🛠 Fixed <style>s to no longer apply to documents without a browsing context. This includes fixing a crash that would occur with such styles if they had an @import rule.
    • 🛠 Fixed <option>'s label and value properties to return correct values in various edge cases.
    • 🛠 Fixed the load event during document loading to target the Document, not the Window.
    • 🛠 Fixed the pretendToBeVisual option to propagate to child subframes, as well as the main Window. (pyrho)
    • ⚡️ Updated the minimum nwsapi version from v2.1.1 to v2.1.3, bringing along a few fixes in our selector engine.