npm jsdom 11.3.0

latest releases: 31.0.0, 30.1.3, 30.1.2...
9 years ago

For this release we'd like to formally welcome @TimothyGu to the core team, as a prolific contributor. He will join the illustrious ranks of those who do so much work on jsdom that we no longer note their names in the changelog.

  • Added table.tHead, table.tFoot, and table.caption setters, and the table.createTBody() method.
  • Added CompositionEvent and WheelEvent classes.
  • Added a <details> element implementation. (@Zirro)
  • Added stub <marquee> and <picture> element implementations. (@Zirro)
  • Updated uiEvent.initUIEvent(), keyboardEvent.initKeyboardEvent(), and mouseEvent.initiMouseEvent() to match the latest specifications.
  • Converted DOMTokenList (used by, e.g., element.classList) to use proxies for improved specification compliance and "liveness".
  • Fixed the DOMException class to be spec-compliant, including its constructor signature.
  • Fixed some subtle interactions between inline event handlers and other event listeners.
  • Fixed the element interface used when creating many of the more obscure elements.
  • Fixed the behavior of the table.rows getter, and the table.createCaption() and table.deleteRow() methods.
  • Fixed incorrect sharing of methods between interfaces that used mixins (e.g. previously document.querySelector === documentFragment.querySelector, incorrectly).
  • Fixed FocusEvent creation, which regressed in v11.2.0.
  • Fixed UIEvent to only allow initializing with Window objects for its view property.
  • Fixed the behavior of tr.rowIndex and tr.deleteCall().
  • Fixed the element interface for <td> and <th> to be simply HTMLTableCellElement, and improved that class's spec compliance.
  • Fixed calling label.click() to not trigger the labeled control's activation behavior when the control is disabled. (@schreifels)
  • Fixed document.getElementsByName() to return a NodeList instead of a HTMLCollection. (@Zirro)
  • Significantly sped up synchronous XMLHttpRequest. (@Zirro)

Don't miss a new jsdom release

NewReleases is sending notifications on new releases.