diff --git a/CHANGELOG b/CHANGELOG index eaaeaf5..2883371 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,9 @@ *SVN* +* Ensure document._getElementsByXPath extends the elements it returns; fixes $$ not returning extended elements in Opera 9.2. Closes #8843. [jdalton] + +* Update Prototype.Browser.MobileSafari for iPod touch compatibility. [sam] + * Add tests for Object.extend and Object.clone. [Tobie Langel] * Add a test for Form.Observer. [Christoph Sturm] diff --git a/src/dom.js b/src/dom.js index b17e1ee..f9306c8 100644 --- a/src/dom.js +++ b/src/dom.js @@ -15,7 +15,7 @@ if (Prototype.BrowserFeatures.XPath) { var query = document.evaluate(expression, $(parentElement) || document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); for (var i = 0, length = query.snapshotLength; i < length; i++) - results.push(query.snapshotItem(i)); + results.push(Element.extend(query.snapshotItem(i))); return results; }; }