W3C home > Mailing lists > Public > public-webapi@w3.org > March 2006

ISSUE-36: DOMContentLoaded?

From: Web APIs Issue Tracker <dean+cgi@w3.org>
Date: Sun, 5 Mar 2006 10:47:54 +0000 (GMT)
To: public-webapi@w3.org
Message-Id: <20060305104754.315CCBDA7@w3c4.w3.org>


ISSUE-36: DOMContentLoaded?

http://www.w3.org/2005/06/tracker/webapi/issues/36

Raised by: Anne van Kesteren
On product: DOM 3 Events

I'm raising this new issue to complete ACTION-21. You can find the proposed text
below. I suggest that we discuss tomorrow, if there is time, whether to include
it or not.

 DOMContentLoaded
  This event MUST be dispatched once the source
  file has been fully loaded and parsed into a
  DOM tree.

  Specifically, this event can be dispatched
  before all external resources are loaded and
  applied and MUST be dispatched before the
  load event. Language specific requirements
  can make the UA to load certain dependencies
  first. In HTML all scripts have to be loaded
  for example.
  
  This event can be used by authors to make
  transformations to the DOM as soon as all the
  Nodes are retrievable by methods like
  getElementById() while still waiting for
  style sheets and images to be loaded for
  example.

One thing that we also have to decide upon is whether or not to go with this
name. In the name of misnomers (images are content) and compatibility we should
probably use it. The original proposal used the name DOMDocumentParsed.
Received on Sunday, 5 March 2006 10:48:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:53 GMT