[whatwg] <object> behavior

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