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

[whatwg] Question on "the element's Document"

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 21 Sep 2009 12:13:34 -0400
Message-ID: <4AB7A62E.3080104@mit.edu>
Section 2.6, item 3 says [1]:

   When fetching resources for an element
      The element's Document.

Is that supposed to be the element's ownerDocument?  Or something else? 
  The term seems to be underdefined.

It's also not defined whether the document is to be examined at the 
moment when running the fetch steps or at the "time convenient to the 
user and the user agent" when the download happens.  This might matter 
for, e.g. script that does something like:

   var img = doc1.createElement("img");
   img.src = something;
   doc2.adoptNode(img);

[1] 
http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#fetching-resources
Received on Monday, 21 September 2009 09:13:34 UTC

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