We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fc567f commit a68c0b3Copy full SHA for a68c0b3
1 file changed
src/standard/configure.html
@@ -101,7 +101,12 @@
101
this._configureProperties(this.behaviors[i].properties, config);
102
}
103
// prototypical behavior
104
- this._configureProperties(this.properties, config);
+ // Read `properties` off of the prototype, as an concession to non-spec
105
+ // compliant browsers where a.) HTMLElement's have a non-spec `properties`
106
+ // property, and b.) the `properties` accessor is on instances rather
107
+ // than `HTMLElement.prototype`; going under the instance to the prototype
108
+ // avoids the problem.
109
+ this._configureProperties(this.__proto__.properties, config);
110
// TODO(sorvell): it *may* be faster to loop over _propertyInfo but
111
// there are some test issues.
112
//this._configureProperties(this._propertyInfo, config);
0 commit comments