- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 09 Jun 2011 22:47:08 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv7430 Modified Files: browsers.html spec.html the-iframe-element.html Log Message: Note that 'load' events don't fire on about:blank documents in <object> and <iframe> elements. This may have to change, though. (whatwg r6209) [updated by splitter] Index: the-iframe-element.html =================================================================== RCS file: /sources/public/html5/spec/the-iframe-element.html,v retrieving revision 1.65 retrieving revision 1.66 diff -u -d -r1.65 -r1.66 --- the-iframe-element.html 8 Jun 2011 22:46:57 -0000 1.65 +++ the-iframe-element.html 9 Jun 2011 22:47:06 -0000 1.66 @@ -462,9 +462,11 @@ jump to the <i title="">empty</i> step, if the user agent is processing this <code><a href="#the-iframe-element">iframe</a></code>'s attributes for the first time, then the user agent must <a href="webappapis.html#queue-a-task">queue a task</a> to - <a href="webappapis.html#fire-a-simple-event">fire a simple event</a> named <code title="event-load">load</code> at the <code><a href="#the-iframe-element">iframe</a></code> - element. (After jumping to this step, the above steps are not - resumed.)</p> + <a href="webappapis.html#fire-a-simple-event">fire a simple event</a> named <code title="event-load">load</code> at the <code><a href="#the-iframe-element">iframe</a></code> element. + (After jumping to this step, the above steps are not resumed.) + <span class="note">No <code title="event-load">load</code> event + is fired at the <code><a href="fetching-resources.html#about:blank">about:blank</a></code> document + itself.</span></p> </dd> @@ -1694,7 +1696,8 @@ <code><a href="fetching-resources.html#about:blank">about:blank</a></code>, then, instead, the user agent must <a href="webappapis.html#queue-a-task">queue a task</a> to <a href="webappapis.html#fire-a-simple-event">fire a simple event</a> named <code title="event-load">load</code> at the - <code><a href="#the-object-element">object</a></code> element.</p> + <code><a href="#the-object-element">object</a></code> element. <span class="note">No <code title="event-load">load</code> event is fired at the + <code><a href="fetching-resources.html#about:blank">about:blank</a></code> document itself.</span></p> <p>The <code><a href="#the-object-element">object</a></code> element <a href="rendering.html#represents">represents</a> the <a href="browsers.html#nested-browsing-context">nested browsing context</a>.</p> Index: browsers.html =================================================================== RCS file: /sources/public/html5/spec/browsers.html,v retrieving revision 1.1049 retrieving revision 1.1050 diff -u -d -r1.1049 -r1.1050 --- browsers.html 9 Jun 2011 06:46:52 -0000 1.1049 +++ browsers.html 9 Jun 2011 22:47:06 -0000 1.1050 @@ -1080,15 +1080,27 @@ agent could override the selection of the target browsing context to instead target a new tab.</p> - <p>Then, the user agent must <a href="history.html#navigate">navigate</a> the selected <a href="#browsing-context">browsing context</a> to the - <a href="urls.html#absolute-url">absolute URL</a> (or error) obtained from <a href="urls.html#resolve-a-url" title="resolve a url">resolving</a> <var title="">url</var> - earlier. If the <var title="">replace</var> is true or if the - <a href="#browsing-context">browsing context</a> was just created as part of <a href="#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name">the - rules for choosing a browsing context given a browsing context - name</a>, then <a href="history.html#replacement-enabled" title="replacement enabled">replacement must - be enabled</a>. The navigation must be done with the <a href="webappapis.html#script-s-browsing-context" title="script's browsing context">browsing context</a> of the - <a href="#entry-script">entry script</a> as the <a href="history.html#source-browsing-context">source browsing - context</a>.</p> + <p>Then, if <var title="">url</var> is not + "<code><a href="fetching-resources.html#about:blank">about:blank</a></code>", the user agent must + <a href="history.html#navigate">navigate</a> the selected + <a href="#browsing-context">browsing context</a> to the <a href="urls.html#absolute-url">absolute URL</a> (or + error) obtained from <a href="urls.html#resolve-a-url" title="resolve a url">resolving</a> + <var title="">url</var> earlier. If the <var title="">replace</var> + is true or if the <a href="#browsing-context">browsing context</a> was just created as + part of <a href="#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name">the rules for choosing a browsing context given a + browsing context name</a>, then <a href="history.html#replacement-enabled" title="replacement + enabled">replacement must be enabled</a>. The navigation must be + done with the <a href="webappapis.html#script-s-browsing-context" title="script's browsing context">browsing + context</a> of the <a href="#entry-script">entry script</a> as the <a href="history.html#source-browsing-context">source + browsing context</a>.</p> + + <p>If <var title="">url</var> <em>is</em> + "<code><a href="fetching-resources.html#about:blank">about:blank</a></code>", the user agent must instead <a href="webappapis.html#queue-a-task">queue + a task</a> to <a href="webappapis.html#fire-a-simple-event">fire a simple event</a> named <code title="event-load">load</code> at the the selected <a href="#browsing-context">browsing + context</a>'s <code><a href="#window">Window</a></code> object, but with its <code title="dom-event-target"><a href="infrastructure.html#dom-event-target">target</a></code> set to the the selected + <a href="#browsing-context">browsing context</a>'s <code><a href="#window">Window</a></code> object's + <code><a href="infrastructure.html#document">Document</a></code> object (and the <code title="dom-event-currentTarget">currentTarget</code> set to the + <code><a href="#window">Window</a></code> object).</p> <p>The method must return the <code><a href="#windowproxy">WindowProxy</a></code> object of the <a href="#browsing-context">browsing context</a> that was navigated, or null if no Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1524 retrieving revision 1.1525 diff -u -d -r1.1524 -r1.1525 --- spec.html 9 Jun 2011 18:46:45 -0000 1.1524 +++ spec.html 9 Jun 2011 22:47:06 -0000 1.1525 @@ -347,7 +347,7 @@ <a href="Overview.html">single page HTML</a>, <a href="spec.html">multipage HTML</a>, <a href="author/">web developer edition</a>. -This is revision 1.4974. +This is revision 1.4976. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Thursday, 9 June 2011 22:47:14 UTC