mootools/mootools-core — Issue #2208: IE7, IFRAMES, and Element.implement() - Stops javascript execution without script error!
Author: ibolmo
Created: 2012-01-19 07:05:19+00:00
State: open
Labels: bug

(from [Lighthouse](https://mootools.lighthouseapp.com/projects/2706/tickets/719-ie7-iframes-and-elementimplement-stops-javascript-execution-without-script-error))

This bug is very simple to reproduce:

``` javascript
Element.implement({
width: function() {return this.getSize().x;}
});

window.addEvent('domready', function() {
document.getElement('body').adopt(
new Element('iframe', {src: 'http://www.google.com/'})
);
});
```

Implementing the 'width' property on an IFrame will cause IE7 to stop javascript execution with no script errors, warnings, etc.