Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[] (0) define javascript: in Window-less environments
git-svn-id: http://svn.whatwg.org/webapps@1999 340c8d12-0b0e-0410-8428-c7bf67bfef74
- Loading branch information
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 |
the <span>script browsing context</span> must be the <span>browsing | ||
context</span> being <span title="navigate">navigated</span>.</p> | ||
|
||
<p>Otherwise, the <span>script execution context</span> must be an | ||
empty object, and the <span>script execution context</span>'s | ||
associated <span>browsing context</span> must be the <span>browsing | ||
context</span> of the <code>Document</code> object of the element, | ||
<p>Otherwise, if the <code>Document</code> object of the element, | ||
attribute, or style sheet from which the <code>javascript:</code> | ||
URL was reached.</p> | ||
URL was reached has an associated <span>browsing context</span>, the | ||
<span>script execution context</span> must be an empty object, and | ||
the <span>script execution context</span>'s associated | ||
<span>browsing context</span> must be that <span>browsing | ||
context</span>.</p> | ||
|
||
<p>Otherwise, the script is not executed and its return value is | ||
void.</p> | ||
|
||
<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 |