[whatwg] Fallback behavior

Ian Hickson wrote:
> On Wed, 20 Aug 2008, K?i?tof ?elechovski wrote:
>> I am not sure what Ian means.  M.S.'s description at 
>> <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2007-March/010043.html> 
>> he seems to be opposing is definitive, exhaustive and that is what 
>> Internet Explorer 7 does.  Scripts attached to elements included in 
>> supported objects do not run.  An unsupported object gets nuked and 
>> replaced with its content.
> 
> That has more to do with IE's crazy handling of <object> elements than 
> with the question at hand, though. IE will have to change here regardless 
> even to be compatible with DOM2 HTML and HTML4, let alone HTML5. So we 
> shouldn't consider it in this discussion. The other browsers are all 
> consistent in their behaviour.

Here is the list of elements that we *don't* execute scripts inside of 
in firefox:

http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsScriptElement.cpp#148

i.e. <iframe>, <noframes>, <noembed>

Everywhere else we do execute the script.

The reason these elements ended up at the list is in bugs
https://bugzilla.mozilla.org/show_bug.cgi?id=5847
https://bugzilla.mozilla.org/show_bug.cgi?id=26669

/ Jonas

Received on Thursday, 21 August 2008 14:54:44 UTC