[whatwg] Fallback behavior
Jonas Sicking
jonas at sicking.cc
Thu Aug 21 14:54:44 PDT 2008
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
More information about the whatwg
mailing list