All Versions
224
Latest Version
Avg Release Cycle
36 days
Latest Release
-

Changelog History
Page 20

  • v0.5.6 Changes

    • Fix: on<event> properties are correctly updated when using setAttributeNode, attributeNode.value =, removeAttribute, and removeAttributeNode; before it only worked with setAttribute. (adrianlang)
    • Fix: HTMLCollections now have named properties based on their members' id and name attributes, e.g. form.elements.inputId is now present. (adrianlang)
  • v0.5.5 Changes

    • Fix: readOnly and selected properties were not correct when their attribute values were falsy, e.g. <option selected="">. (adrianlang)
  • v0.5.4 Changes

    🚀 This release, and all future releases, require at least Node.js 0.8.

    • Add: parser can now be set via jsdom.env configuration. (xavi-)
    • Fix: accessing rowIndex for table rows that are not part of a table would throw. (medikoo)
    • Fix: several places in the code accidentally created global variables, or referenced nonexistant values. (xavi-)
    • Fix: <img> elements' src properties now evaluate relative to location.href, just like <a> elements' href properties. (brianmaissy)
  • v0.5.3 Changes

    🚀 This release is compatible with Node.js 0.6, whereas all future releases will require at least Node.js 0.8.

    • Fix: getAttributeNS now returns null for attributes that are not present, just like getAttribute. (mbostock)
    • Change: "request" dependency pinned to version 2.14 for Node.js 0.6 compatibility.
  • v0.5.2 Changes

    • Fix: stylesheets with @-webkit-keyframes rules were crashing calls to getComputedStyle.
    • Fix: handling of features option to jsdom.env.
    • Change: retain the value of the style attribute until the element's style property is touched. (papandreou)
  • v0.5.1 Changes

    • Fix: selectedIndex now changes correctly in response to <option> elements being selected. This makes <select> elements actually work like you would want, especially with jQuery. (xcoderzach)
    • Fix: checked works correctly on radio buttons, i.e. only one can be checked and clicking on one does not uncheck it. Previously they worked just like checkboxes. (xcoderzach)
    • Fix: click() on <input> elements now fires a click event. (xcoderzach)
  • v0.5.0 Changes

    • Fix: Make contextify a non-optional dependency. jsdom never worked without it, really, so this just caused confusion.
  • v0.4.2 Changes

    • Fix: selected now returns true for the first <option> in a <select> if nothing is explicitly set.
    • Fix: tweaks to accuracy and speed of the querySelectorAll implementation.
  • v0.4.1 Changes

    • Fix: crashes when loading HTML files with <a> tags with no href attribute. (eleith)
  • v0.4.0 Changes

    • Fix: getAttribute now returns null for attributes that are not present, as per DOM4 (but in contradiction to DOM1 through DOM3).
    • Fix: static NodeList-returning methods (such as querySelectorAll) now return a real NodeList instance.
    • Change: NodeLists no longer expose nonstandard properties to the world, like toArray, without first prefixing them with an underscore.
    • Change: NodeLists no longer inconsistently have array methods. Previously, live node lists would have indexOf, while static node lists would have them all. Now, they have no array methods at all, as is correct per the specification.