W3C home > Mailing lists > Public > public-html-commits@w3.org > August 2008

html5/spec Overview.html,1.1187,1.1188

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 05 Aug 2008 07:54:45 +0000
To: public-html-commits@w3.org
Message-Id: <E1KQHNV-0005JN-8t@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20397

Modified Files:
	Overview.html 
Log Message:
define javascript: in Window-less environments (whatwg r1999)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1187
retrieving revision 1.1188
diff -u -d -r1.1187 -r1.1188
--- Overview.html	5 Aug 2008 07:51:21 -0000	1.1187
+++ Overview.html	5 Aug 2008 07:54:42 -0000	1.1188
@@ -32414,12 +32414,15 @@
    href="#browsing1">browsing context</a> being <a href="#navigate"
    title=navigate>navigated</a>.
 
-  <p>Otherwise, the <a href="#script2">script execution context</a> must be
-   an empty object, and the <a href="#script2">script execution context</a>'s
-   associated <a href="#browsing1">browsing context</a> must be the <a
-   href="#browsing1">browsing context</a> of the <code>Document</code> object
-   of the element, attribute, or style sheet from which the
-   <code>javascript:</code> URL was reached.
+  <p>Otherwise, if the <code>Document</code> object of the element,
+   attribute, or style sheet from which the <code>javascript:</code> URL was
+   reached has an associated <a href="#browsing1">browsing context</a>, the
+   <a href="#script2">script execution context</a> must be an empty object,
+   and the <a href="#script2">script execution context</a>'s associated <a
+   href="#browsing1">browsing context</a> must be that <a
+   href="#browsing1">browsing context</a>.
+
+  <p>Otherwise, the script is not executed and its return value is void.
 
   <p>If the result of executing the script is void (there is no return
    value), then the URL must be treated in a manner equivalent to an HTTP
Received on Tuesday, 5 August 2008 07:55:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:58 GMT