jsdom v14.1.0 Release Notes
Release Date: 2019-04-21 // about 5 years ago-
- ➕ Added activation behavior for
<a>
and<area>
elements whosehref=""
points to ajavascript:
URL or fragment. - ➕ Added the
<datalist>
element'soptions
property. - ➕ Added the
<input>
element'slist
property. - ➕ Added
PageTransitionEvent
, and the firing ofpageshow
events during loading. - 🔦 Exposed the
External
class as a property ofwindow
. - 🛠 Fixed HTML fragment parsing (via
innerHTML
andouterHTML
) 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>
'slabel
andvalue
properties to return correct values in various edge cases. - 🛠 Fixed the
load
event during document loading to target theDocument
, not theWindow
. - 🛠 Fixed the
pretendToBeVisual
option to propagate to child subframes, as well as the mainWindow
. (pyrho) - ⚡️ Updated the minimum
nwsapi
version from v2.1.1 to v2.1.3, bringing along a few fixes in our selector engine.
- ➕ Added activation behavior for