[html5] r1813 - [] (0) URLify Location.
whatwg at whatwg.org
whatwg at whatwg.org
Thu Jun 26 19:08:49 PDT 2008
Author: ianh
Date: 2008-06-26 19:08:48 -0700 (Thu, 26 Jun 2008)
New Revision: 1813
Modified:
index
source
Log:
[] (0) URLify Location.
Modified: index
===================================================================
--- index 2008-06-27 01:56:06 UTC (rev 1812)
+++ index 2008-06-27 02:08:48 UTC (rev 1813)
@@ -33984,8 +33984,6 @@
bubbles but is not cancelable and has no default action.
</ol>
<!-- XXX onpopstate should be defined somewhere -->
- <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXURL \(url\|uri\|iri\) -->
- <!-- XXXURL check with DOM3 Events -->
<pre
class=idl>interface <dfn id=popstateevent>PopStateEvent</dfn> : Event {
@@ -34039,8 +34037,7 @@
void <a href="#replace" title=dom-location-replace>replace</a>(in DOMString url);
void <span title=dom-location-reload>reload</span>();
- <!-- XXXURL change to URL
- --> // <span>URI decomposition attributes</span> <!-- blame brendan for these "innovative" names -->
+ // <a href="#url-decomposition">URL decomposition attributes</a> <!-- blame brendan for these "innovative" names -->
attribute DOMString <a href="#protocol0" title=dom-location-protocol>protocol</a>;
attribute DOMString <a href="#host0" title=dom-location-host>host</a>;
attribute DOMString <a href="#hostname0" title=dom-location-hostname>hostname</a>;
@@ -34049,11 +34046,11 @@
attribute DOMString <a href="#search0" title=dom-location-search>search</a>;
attribute DOMString <a href="#hash0" title=dom-location-hash>hash</a>;
};</pre>
- <!-- XXXURL change to URL -->
<p>The <dfn id=href5 title=dom-location-href><code>href</code></dfn>
- attribute returns the address of the page represented by the associated
- <code>Document</code> object, as an absolute URI or IRI reference.
+ attribute must return <span title="the document's address">the
+ address</span><!-- XXXDOCURL --> of the page represented by the associated
+ <code>Document</code> object, as an <a href="#absolute">absolute URL</a>.
<p>On setting, <!--XXX Mozilla does this, but IE doesn't. What
should we do?: the behavior depends on the context in which the
@@ -34089,36 +34086,27 @@
href="#assign">assign()</a></code> and <code title=dom-location-replace><a
href="#replace">replace()</a></code> methods must be done with the <a
href="#script3">script browsing context</a> of the script that invoked the
- method as the <a href="#source0">source browsing context</a>.</p>
- <!-- XXXURL algorithms -->
+ method as the <a href="#source0">source browsing context</a>.
- <p>Relative <var title="">url</var> arguments for <code
- title=dom-location-assign><a href="#assign">assign()</a></code> and <code
- title=dom-location-replace><a href="#replace">replace()</a></code> must be
- resolved relative to the <span title="script's base URI">base URI of the
- script</span> that made the method call.</p>
- <!-- XXX what about if
- the base URI is data: or javascript: or about: or something else
- without a way to resolve base URIs? -->
- <!-- XXXURL change to URL -->
-
<p>The <code><a href="#location2">Location</a></code> interface also has
- the complement of <span>URI decomposition attributes</span>, <dfn
- id=protocol0 title=dom-location-protocol><code>protocol</code></dfn>, <dfn
- id=host0 title=dom-location-host><code>host</code></dfn>, <dfn id=port0
+ the complement of <a href="#url-decomposition">URL decomposition
+ attributes</a>, <dfn id=protocol0
+ title=dom-location-protocol><code>protocol</code></dfn>, <dfn id=host0
+ title=dom-location-host><code>host</code></dfn>, <dfn id=port0
title=dom-location-port><code>port</code></dfn>, <dfn id=hostname0
title=dom-location-hostname><code>hostname</code></dfn>, <dfn id=pathname0
title=dom-location-pathname><code>pathname</code></dfn>, <dfn id=search0
title=dom-location-search><code>search</code></dfn>, and <dfn id=hash0
title=dom-location-hash><code>hash</code></dfn>. These must follow the
- rules given for URI decomposition attributes, with the <a href="#input"
- title=concept-uda-input>input</a> being the address of the page
- represented by the associated <code>Document</code> object, as an absolute
- URI or IRI reference (same as the <code title=dom-location-href><a
- href="#href5">href</a></code> attribute), and the <a href="#common3"
- title=concept-uda-setter>common setter action</a> being the same as
- setting the <code title=dom-location-href><a href="#href5">href</a></code>
- attribute to the new output value.</p>
+ rules given for URL decomposition attributes, with the <a href="#input"
+ title=concept-uda-input>input</a> being <span title="the document's
+ address">the address</span><!-- XXXDOCURL --> of the page represented by
+ the associated <code>Document</code> object, as an <a
+ href="#absolute">absolute URL</a> (same as the <code
+ title=dom-location-href><a href="#href5">href</a></code> attribute), and
+ the <a href="#common3" title=concept-uda-setter>common setter action</a>
+ being the same as setting the <code title=dom-location-href><a
+ href="#href5">href</a></code> attribute to the new output value.</p>
<!--
<dfn title="dom-location-reload"><code>reload()</code></dfn>
reload during resize event:
@@ -34191,7 +34179,8 @@
<p>In addition, a user agent could ignore calls to <code
title=dom-history-pushState><a href="#pushstate">pushState()</a></code>
that are invoked on a timer, or from event handlers that do not represent
- a clear user action, or that are invoked in rapid succession.
+ a clear user action, or that are invoked in rapid succession.</p>
+ <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXURL \(url\|uri\|iri\) -->
<h3 id=browsing0><span class=secno>5.9 </span>Browsing the Web</h3>
Modified: source
===================================================================
--- source 2008-06-27 01:56:06 UTC (rev 1812)
+++ source 2008-06-27 02:08:48 UTC (rev 1813)
@@ -31668,9 +31668,7 @@
<!-- XXX onpopstate should be defined somewhere -->
- <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXURL \(url\|uri\|iri\) -->
- <!-- XXXURL check with DOM3 Events -->
<pre class="idl">interface <dfn>PopStateEvent</dfn> : Event {
readonly attribute DOMObject <span title="dom-PopStateEvent-state">state</span>;
void <span title="dom-PopStateEvent-initPopStateEvent">initPopStateEvent</span>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMObject stateArg);
@@ -31722,8 +31720,7 @@
void <span title="dom-location-replace">replace</span>(in DOMString url);
void <span title="dom-location-reload">reload</span>();
- <!-- XXXURL change to URL
- --> // <span>URI decomposition attributes</span> <!-- blame brendan for these "innovative" names -->
+ // <span>URL decomposition attributes</span> <!-- blame brendan for these "innovative" names -->
attribute DOMString <span title="dom-location-protocol">protocol</span>;
attribute DOMString <span title="dom-location-host">host</span>;
attribute DOMString <span title="dom-location-hostname">hostname</span>;
@@ -31733,11 +31730,11 @@
attribute DOMString <span title="dom-location-hash">hash</span>;
};</pre>
- <!-- XXXURL change to URL -->
<p>The <dfn title="dom-location-href"><code>href</code></dfn>
- attribute returns the address of the page represented by the
- associated <code>Document</code> object, as an absolute URI or IRI
- reference.</p>
+ attribute must return <span title="the document's address">the
+ address</span><!-- XXXDOCURL --> of the page represented by the
+ associated <code>Document</code> object, as an <span>absolute
+ URL</span>.</p>
<p>On setting, <!--XXX Mozilla does this, but IE doesn't. What
should we do?: the behavior depends on the context in which the
@@ -31772,18 +31769,8 @@
with the <span>script browsing context</span> of the script that
invoked the method as the <span>source browsing context</span>.</p>
- <!-- XXXURL algorithms -->
- <p>Relative <var title="">url</var> arguments for <code
- title="dom-location-assign">assign()</code> and <code
- title="dom-location-replace">replace()</code> must be resolved
- relative to the <span title="script's base URI">base URI of the
- script</span> that made the method call.</p> <!-- XXX what about if
- the base URI is data: or javascript: or about: or something else
- without a way to resolve base URIs? -->
-
- <!-- XXXURL change to URL -->
<p>The <code>Location</code> interface also has the complement of
- <span>URI decomposition attributes</span>, <dfn
+ <span>URL decomposition attributes</span>, <dfn
title="dom-location-protocol"><code>protocol</code></dfn>, <dfn
title="dom-location-host"><code>host</code></dfn>, <dfn
title="dom-location-port"><code>port</code></dfn>, <dfn
@@ -31791,10 +31778,11 @@
title="dom-location-pathname"><code>pathname</code></dfn>, <dfn
title="dom-location-search"><code>search</code></dfn>, and <dfn
title="dom-location-hash"><code>hash</code></dfn>. These must follow
- the rules given for URI decomposition attributes, with the <span
- title="concept-uda-input">input</span> being the address of the page
+ the rules given for URL decomposition attributes, with the <span
+ title="concept-uda-input">input</span> being <span title="the
+ document's address">the address</span><!-- XXXDOCURL --> of the page
represented by the associated <code>Document</code> object, as an
- absolute URI or IRI reference (same as the <code
+ <span>absolute URL</span> (same as the <code
title="dom-location-href">href</code> attribute), and the <span
title="concept-uda-setter">common setter action</span> being the
same as setting the <code title="dom-location-href">href</code>
@@ -31872,6 +31860,7 @@
action, or that are invoked in rapid succession.</p>
+ <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXURL \(url\|uri\|iri\) -->
<h3>Browsing the Web</h3>
More information about the Commit-Watchers
mailing list