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

Changelog History
Page 19

  • v0.6.0 Changes

    โ†” Integrated a new HTML parser, htmlparser2, from fb55. This is an actively maintained and much less buggy parser, fixing many of our parsing issues, including:

    • Parsing elements with optional closing tags, like <p> or <td>.
    • The innerHTML of <script> tags no longer cuts off the first character.
    • Empty attributes now have "" as their value instead of the attribute name.
    • Multiline attributes no longer get horribly mangled.
    • Attribute names can now be any value allowed by HTML5, including crazy things like ^.
    • Attribute values can now contain any value allowed by HTML5, including e.g. > and <.
  • v0.5.7 Changes

    • Fix: make event handlers attached via on<event> more spec-compatible, supporting return false and passing the event argument. (adrianlang)
    • Fix: make the getter for textContent more accurate, e.g. in cases involving comment nodes or processing instruction nodes. (adrianlang)
    • Fix: make <canvas> behave like a <div> when the node-canvas package isn't available, instead of crashing. (stepheneb)
  • 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.