2 Matching Annotations
- Mar 2018
- Nov 2015
Trying to override the getter on the prototype of an element is somewhat pointless as WebKit does not use getters for DOM properties. Technically we could make it do so, but that basically means throwing away performance for no good reason. Comment 2 T. Brains 2010-03-21 14:23:58 PDT That means there's absolutely no way to override or extend the default get or set behavior of any of the built-in DOM properties, which is very limiting, and like I mentioned contradicts the behavior of other browsers.
When this was written, overriding getters for native DOM properties was not possible.