diff --git a/CHANGELOG b/CHANGELOG index d8849a0..d7f464c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,8 @@ -*1.5.1_rc3 (April 24, 2007)* +*SVN* + +* Fix Element#readAttribute to work with the 'type' attribute in IE. Closes #8160. [Tobie Langel, Wiktor Ihárosi] + +*1.5.1_rc3* (April 24, 2007) * Add Element#childElements as an alias for Element#immediateDescendants. [Tobie Langel] diff --git a/src/dom.js b/src/dom.js index 5f07e88..a0fb444 100644 --- a/src/dom.js +++ b/src/dom.js @@ -551,6 +551,7 @@ Element._attributeTranslations = { Object.extend(this, { href: this._getAttr, src: this._getAttr, + type: this._getAttr, disabled: this._flag, checked: this._flag, readonly: this._flag, diff --git a/test/unit/dom.html b/test/unit/dom.html index da3dbf8..2338cb5 100644 --- a/test/unit/dom.html +++ b/test/unit/dom.html @@ -216,6 +216,7 @@ +