Skip to content
Permalink
Browse files

[] (0) Don't require Document.location to do anything when the Docume…

…nt isn't in a Window.

git-svn-id: http://svn.whatwg.org/webapps@2069 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 13, 2008
1 parent fe12804 commit d6188a9eababe014912c50b3e0143c00de2733de
Showing with 10 additions and 9 deletions.
  1. +5 −4 index
  2. +5 −5 source
9 index
<h4 id=the-location><span class=secno>5.8.4 </span>The <code><a
href="#location2">Location</a></code> interface</h4>

<p>Each <code>Document</code> object in a browsing context's session
history is associated with a unique instance of a <code><a
href="#location2">Location</a></code> object.
<p>Each <code>Document</code> object in a <a href="#browsing1">browsing
context</a>'s session history is associated with a unique instance of a
<code><a href="#location2">Location</a></code> object.

<p>The <dfn id=location0
title=dom-document-location><code>location</code></dfn> attribute of the
<code><a href="#htmldocument">HTMLDocument</a></code> interface must
return the <code><a href="#location2">Location</a></code> object for that
<code>Document</code> object.
<code>Document</code> object, if it is in a <span>browser context</span>,
and null otherwise.

<p>The <dfn id=location1 title=dom-location><code>location</code></dfn>
attribute of the <code><a href="#window">Window</a></code> interface must
10 source

<h4>The <code>Location</code> interface</h4>

<p>Each <code>Document</code> object in a browsing context's session
history is associated with a unique instance of a
<code>Location</code> object.</p>
<p>Each <code>Document</code> object in a <span>browsing
context</span>'s session history is associated with a unique
instance of a <code>Location</code> object.</p>

<p>The <dfn
title="dom-document-location"><code>location</code></dfn> attribute
of the <code>HTMLDocument</code> interface must return the
<code>Location</code> object for that <code>Document</code>
object.</p>
<code>Location</code> object for that <code>Document</code> object,
if it is in a <span>browser context</span>, and null otherwise.</p>

<p>The <dfn title="dom-location"><code>location</code></dfn>
attribute of the <code>Window</code> interface must return the

0 comments on commit d6188a9

Please sign in to comment.
You can’t perform that action at this time.