W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2009

[whatwg] <object> behavior

From: Michael A. Puls II <shadow2531@gmail.com>
Date: Mon, 21 Sep 2009 08:52:07 -0400
Message-ID: <op.u0lx05z71ejg13@sandra-svwliu01>
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
Received on Monday, 21 September 2009 05:52:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:52 UTC