W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2011

html5/spec Overview.html,1.4974,1.4975

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 09 Jun 2011 22:37:00 +0000
To: public-html-commits@w3.org
Message-Id: <E1QUnqX-0001WR-08@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv5837

Modified Files:
	Overview.html 
Log Message:
Fire 'load' on the about:blank document created by window.open() (whatwg r6208)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4974
retrieving revision 1.4975
diff -u -d -r1.4974 -r1.4975
--- Overview.html	9 Jun 2011 18:46:01 -0000	1.4974
+++ Overview.html	9 Jun 2011 22:36:57 -0000	1.4975
@@ -43622,15 +43622,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="#navigate">navigate</a> the selected <a href="#browsing-context">browsing context</a> to the
-  <a href="#absolute-url">absolute URL</a> (or error) obtained from <a href="#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="#replacement-enabled" title="replacement enabled">replacement must
-  be enabled</a>. The navigation must be done with the <a href="#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="#source-browsing-context">source browsing
-  context</a>.</p>
+  <p>Then, if <var title="">url</var> is not
+  "<code><a href="#about:blank">about:blank</a></code>", the user agent must
+  <a href="#navigate">navigate</a> the selected
+  <a href="#browsing-context">browsing context</a> to the <a href="#absolute-url">absolute URL</a> (or
+  error) obtained from <a href="#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="#replacement-enabled" title="replacement
+  enabled">replacement must be enabled</a>. The navigation must be
+  done with the <a href="#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="#source-browsing-context">source
+  browsing context</a>.</p>
+
+  <p>If <var title="">url</var> <em>is</em>
+  "<code><a href="#about:blank">about:blank</a></code>", the user agent must instead <a href="#queue-a-task">queue
+  a task</a> to <a href="#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="#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="#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
Received on Thursday, 9 June 2011 22:37:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 June 2011 22:37:04 GMT