[whatwg] <object> behavior
Michael A. Puls II
shadow2531 at gmail.com
Mon Sep 21 05:52:07 PDT 2009
On Mon, 21 Sep 2009 08:24:37 -0400, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 9/20/09 3:54 PM, Michael A. Puls II wrote:
>> O.K., so put simply, HTML5 should explicitly mention that the css
>> display property for <object>, <embed> (and <applet> in the handling
>> section) has absolutely no effect on plug-in instantiation and
>> destroying and has absolutely no effect on @src and @data resource
>> fetching.
>
> Imo, yes. Especially given your HTML example, where the behavior
> difference is easy to stumble on by trying to get the contentDocument of
> the <object> and work with it.
Ah, indeed. After window.onload, I get null in Opera and undefined in
Safari for the contentDocument while I get the document in Firefox.
--
Michael
More information about the whatwg
mailing list