[html5] r7908 - [e] (0) Update to match recent URL spec changes (this fixes a.href/area.href, bu [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jun 5 13:26:36 PDT 2013
Author: ianh
Date: 2013-06-05 13:26:35 -0700 (Wed, 05 Jun 2013)
New Revision: 7908
Modified:
complete.html
index
source
Log:
[e] (0) Update to match recent URL spec changes (this fixes a.href/area.href, but note that this breaks Location.href instead; see the bug for details)
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21787
Affected topics: DOM APIs, HTML
Modified: complete.html
===================================================================
--- complete.html 2013-06-04 22:18:27 UTC (rev 7907)
+++ complete.html 2013-06-05 20:26:35 UTC (rev 7908)
@@ -256,7 +256,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 4 June 2013</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 5 June 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -19161,11 +19161,9 @@
<p>The element's <code><a href=#urlutils>URLUtils</a></code> interface's <a href=#concept-uu-query-encoding title=concept-uu-query-encoding>query
encoding</a> is the <a href="#document's-character-encoding">document's character encoding</a>.</p>
- <p>When the element's <code><a href=#urlutils>URLUtils</a></code> interface invokes its <a href=#concept-uu-update title=concept-uu-update>update steps</a>, if the element's <code><a href=#urlutils>URLUtils</a></code> interface's
- <a href=#concept-uu-url title=concept-uu-url>url</a> is not null, then the user agent must set the element's
- <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> content attribute to the <a href=#concept-url-serializer title=concept-url-serializer>serialization</a> of the element's <code><a href=#urlutils>URLUtils</a></code>
- interface's <a href=#concept-uu-url title=concept-uu-url>url</a>; otherwise, it must set the element's <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> content attribute to the element's <code><a href=#urlutils>URLUtils</a></code>
- interface's <a href=#concept-uu-input title=concept-uu-input>input</a>.</p>
+ <p>When the element's <code><a href=#urlutils>URLUtils</a></code> interface invokes its <a href=#concept-uu-update title=concept-uu-update>update steps</a> with a string <var title="">value</var>, the user
+ agent must set the element's <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> content attribute to
+ the string <var title="">value</var>.</p>
</div>
<!--TOPIC:HTML-->
@@ -39266,11 +39264,9 @@
<p>The element's <code><a href=#urlutils>URLUtils</a></code> interface's <a href=#concept-uu-query-encoding title=concept-uu-query-encoding>query
encoding</a> is the <a href="#document's-character-encoding">document's character encoding</a>.</p>
- <p>When the element's <code><a href=#urlutils>URLUtils</a></code> interface invokes its <a href=#concept-uu-update title=concept-uu-update>update steps</a>, if the element's <code><a href=#urlutils>URLUtils</a></code> interface's
- <a href=#concept-uu-url title=concept-uu-url>url</a> is not null, then the user agent must set the element's
- <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> content attribute to the <a href=#concept-url-serializer title=concept-url-serializer>serialization</a> of the element's <code><a href=#urlutils>URLUtils</a></code>
- interface's <a href=#concept-uu-url title=concept-uu-url>url</a>; otherwise, it must set the element's <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> content attribute to the element's <code><a href=#urlutils>URLUtils</a></code>
- interface's <a href=#concept-uu-input title=concept-uu-input>input</a>.</p>
+ <p>When the element's <code><a href=#urlutils>URLUtils</a></code> interface invokes its <a href=#concept-uu-update title=concept-uu-update>update steps</a> with a string <var title="">value</var>, the user
+ agent must set the element's <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> content attribute to
+ the string <var title="">value</var>.</p>
</div>
@@ -66901,21 +66897,12 @@
<p>The element's <code><a href=#urlutils>URLUtils</a></code> interface's <a href=#concept-uu-query-encoding title=concept-uu-query-encoding>query
encoding</a> is the <a href="#document's-character-encoding">document's character encoding</a>.</p>
- <p>When the element's <code><a href=#urlutils>URLUtils</a></code> interface invokes its <a href=#concept-uu-update title=concept-uu-update>update steps</a>, the user agent must run the following steps:</p>
+<!--CLEANUP-->
+ <p>When the element's <code><a href=#urlutils>URLUtils</a></code> interface invokes its <a href=#concept-uu-update title=concept-uu-update>update steps</a> with the string <var title="">value</var>, the user
+ agent must run the following steps:</p>
<ol><li>
- <p>If the object's <code><a href=#urlutils>URLUtils</a></code> interface's <a href=#concept-uu-url title=concept-uu-url>url</a> is
- not null, then let <var title="">URL</var> be the <a href=#concept-url-serializer title=concept-url-serializer>serialization</a> of the object's <code><a href=#urlutils>URLUtils</a></code>
- interface's <a href=#concept-uu-url title=concept-uu-url>url</a>.</p>
-
- <p>Otherwise, let <var title="">URL</var> be the object's <code><a href=#urlutils>URLUtils</a></code> interface's
- <a href=#concept-uu-input title=concept-uu-input>input</a>.</p>
-
- </li>
-
- <li>
-
<p>If any of the following conditions are met, let <var title="">mode</var> be <i>normal
navigation</i>; otherwise, let it be <i>replace navigation</i>:</p>
@@ -66931,9 +66918,9 @@
</ul></li>
- <li><p>If <var title="">mode</var> is <i>normal navigation</i>, then act as if the <code title=dom-location-assign><a href=#dom-location-assign>assign()</a></code> method had been called with the new value as its
+ <li><p>If <var title="">mode</var> is <i>normal navigation</i>, then act as if the <code title=dom-location-assign><a href=#dom-location-assign>assign()</a></code> method had been called with <var title="">value</var> as its
argument. Otherwise, act as if the <code title=dom-location-replace><a href=#dom-location-replace>replace()</a></code> method had
- been called with the new value as its argument.</li>
+ been called with <var title="">value</var> as its argument.</li>
<!--DONAV location.href, defined in terms of the paragraphs far above-->
</ol></div>
Modified: index
===================================================================
--- index 2013-06-04 22:18:27 UTC (rev 7907)
+++ index 2013-06-05 20:26:35 UTC (rev 7908)
@@ -256,7 +256,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 4 June 2013</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 5 June 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -19161,11 +19161,9 @@
<p>The element's <code><a href=#urlutils>URLUtils</a></code> interface's <a href=#concept-uu-query-encoding title=concept-uu-query-encoding>query
encoding</a> is the <a href="#document's-character-encoding">document's character encoding</a>.</p>
- <p>When the element's <code><a href=#urlutils>URLUtils</a></code> interface invokes its <a href=#concept-uu-update title=concept-uu-update>update steps</a>, if the element's <code><a href=#urlutils>URLUtils</a></code> interface's
- <a href=#concept-uu-url title=concept-uu-url>url</a> is not null, then the user agent must set the element's
- <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> content attribute to the <a href=#concept-url-serializer title=concept-url-serializer>serialization</a> of the element's <code><a href=#urlutils>URLUtils</a></code>
- interface's <a href=#concept-uu-url title=concept-uu-url>url</a>; otherwise, it must set the element's <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> content attribute to the element's <code><a href=#urlutils>URLUtils</a></code>
- interface's <a href=#concept-uu-input title=concept-uu-input>input</a>.</p>
+ <p>When the element's <code><a href=#urlutils>URLUtils</a></code> interface invokes its <a href=#concept-uu-update title=concept-uu-update>update steps</a> with a string <var title="">value</var>, the user
+ agent must set the element's <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> content attribute to
+ the string <var title="">value</var>.</p>
</div>
<!--TOPIC:HTML-->
@@ -39266,11 +39264,9 @@
<p>The element's <code><a href=#urlutils>URLUtils</a></code> interface's <a href=#concept-uu-query-encoding title=concept-uu-query-encoding>query
encoding</a> is the <a href="#document's-character-encoding">document's character encoding</a>.</p>
- <p>When the element's <code><a href=#urlutils>URLUtils</a></code> interface invokes its <a href=#concept-uu-update title=concept-uu-update>update steps</a>, if the element's <code><a href=#urlutils>URLUtils</a></code> interface's
- <a href=#concept-uu-url title=concept-uu-url>url</a> is not null, then the user agent must set the element's
- <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> content attribute to the <a href=#concept-url-serializer title=concept-url-serializer>serialization</a> of the element's <code><a href=#urlutils>URLUtils</a></code>
- interface's <a href=#concept-uu-url title=concept-uu-url>url</a>; otherwise, it must set the element's <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> content attribute to the element's <code><a href=#urlutils>URLUtils</a></code>
- interface's <a href=#concept-uu-input title=concept-uu-input>input</a>.</p>
+ <p>When the element's <code><a href=#urlutils>URLUtils</a></code> interface invokes its <a href=#concept-uu-update title=concept-uu-update>update steps</a> with a string <var title="">value</var>, the user
+ agent must set the element's <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> content attribute to
+ the string <var title="">value</var>.</p>
</div>
@@ -66901,21 +66897,12 @@
<p>The element's <code><a href=#urlutils>URLUtils</a></code> interface's <a href=#concept-uu-query-encoding title=concept-uu-query-encoding>query
encoding</a> is the <a href="#document's-character-encoding">document's character encoding</a>.</p>
- <p>When the element's <code><a href=#urlutils>URLUtils</a></code> interface invokes its <a href=#concept-uu-update title=concept-uu-update>update steps</a>, the user agent must run the following steps:</p>
+<!--CLEANUP-->
+ <p>When the element's <code><a href=#urlutils>URLUtils</a></code> interface invokes its <a href=#concept-uu-update title=concept-uu-update>update steps</a> with the string <var title="">value</var>, the user
+ agent must run the following steps:</p>
<ol><li>
- <p>If the object's <code><a href=#urlutils>URLUtils</a></code> interface's <a href=#concept-uu-url title=concept-uu-url>url</a> is
- not null, then let <var title="">URL</var> be the <a href=#concept-url-serializer title=concept-url-serializer>serialization</a> of the object's <code><a href=#urlutils>URLUtils</a></code>
- interface's <a href=#concept-uu-url title=concept-uu-url>url</a>.</p>
-
- <p>Otherwise, let <var title="">URL</var> be the object's <code><a href=#urlutils>URLUtils</a></code> interface's
- <a href=#concept-uu-input title=concept-uu-input>input</a>.</p>
-
- </li>
-
- <li>
-
<p>If any of the following conditions are met, let <var title="">mode</var> be <i>normal
navigation</i>; otherwise, let it be <i>replace navigation</i>:</p>
@@ -66931,9 +66918,9 @@
</ul></li>
- <li><p>If <var title="">mode</var> is <i>normal navigation</i>, then act as if the <code title=dom-location-assign><a href=#dom-location-assign>assign()</a></code> method had been called with the new value as its
+ <li><p>If <var title="">mode</var> is <i>normal navigation</i>, then act as if the <code title=dom-location-assign><a href=#dom-location-assign>assign()</a></code> method had been called with <var title="">value</var> as its
argument. Otherwise, act as if the <code title=dom-location-replace><a href=#dom-location-replace>replace()</a></code> method had
- been called with the new value as its argument.</li>
+ been called with <var title="">value</var> as its argument.</li>
<!--DONAV location.href, defined in terms of the paragraphs far above-->
</ol></div>
Modified: source
===================================================================
--- source 2013-06-04 22:18:27 UTC (rev 7907)
+++ source 2013-06-05 20:26:35 UTC (rev 7908)
@@ -19982,13 +19982,9 @@
encoding</span> is the <span>document's character encoding</span>.</p>
<p>When the element's <code>URLUtils</code> interface invokes its <span
- title="concept-uu-update">update steps</span>, if the element's <code>URLUtils</code> interface's
- <span title="concept-uu-url">url</span> is not null, then the user agent must set the element's
- <code title="attr-hyperlink-href">href</code> content attribute to the <span
- title="concept-url-serializer">serialization</span> of the element's <code>URLUtils</code>
- interface's <span title="concept-uu-url">url</span>; otherwise, it must set the element's <code
- title="attr-hyperlink-href">href</code> content attribute to the element's <code>URLUtils</code>
- interface's <span title="concept-uu-input">input</span>.</p>
+ title="concept-uu-update">update steps</span> with a string <var title="">value</var>, the user
+ agent must set the element's <code title="attr-hyperlink-href">href</code> content attribute to
+ the string <var title="">value</var>.</p>
</div>
<!--TOPIC:HTML-->
@@ -42834,13 +42830,9 @@
encoding</span> is the <span>document's character encoding</span>.</p>
<p>When the element's <code>URLUtils</code> interface invokes its <span
- title="concept-uu-update">update steps</span>, if the element's <code>URLUtils</code> interface's
- <span title="concept-uu-url">url</span> is not null, then the user agent must set the element's
- <code title="attr-hyperlink-href">href</code> content attribute to the <span
- title="concept-url-serializer">serialization</span> of the element's <code>URLUtils</code>
- interface's <span title="concept-uu-url">url</span>; otherwise, it must set the element's <code
- title="attr-hyperlink-href">href</code> content attribute to the element's <code>URLUtils</code>
- interface's <span title="concept-uu-input">input</span>.</p>
+ title="concept-uu-update">update steps</span> with a string <var title="">value</var>, the user
+ agent must set the element's <code title="attr-hyperlink-href">href</code> content attribute to
+ the string <var title="">value</var>.</p>
</div>
@@ -74657,25 +74649,15 @@
<p>The element's <code>URLUtils</code> interface's <span title="concept-uu-query-encoding">query
encoding</span> is the <span>document's character encoding</span>.</p>
+<!--CLEANUP-->
<p>When the element's <code>URLUtils</code> interface invokes its <span
- title="concept-uu-update">update steps</span>, the user agent must run the following steps:</p>
+ title="concept-uu-update">update steps</span> with the string <var title="">value</var>, the user
+ agent must run the following steps:</p>
<ol>
<li>
- <p>If the object's <code>URLUtils</code> interface's <span title="concept-uu-url">url</span> is
- not null, then let <var title="">URL</var> be the <span
- title="concept-url-serializer">serialization</span> of the object's <code>URLUtils</code>
- interface's <span title="concept-uu-url">url</span>.</p>
-
- <p>Otherwise, let <var title="">URL</var> be the object's <code>URLUtils</code> interface's
- <span title="concept-uu-input">input</span>.</p>
-
- </li>
-
- <li>
-
<p>If any of the following conditions are met, let <var title="">mode</var> be <i>normal
navigation</i>; otherwise, let it be <i>replace navigation</i>:</p>
@@ -74698,9 +74680,9 @@
</li>
<li><p>If <var title="">mode</var> is <i>normal navigation</i>, then act as if the <code
- title="dom-location-assign">assign()</code> method had been called with the new value as its
+ title="dom-location-assign">assign()</code> method had been called with <var title="">value</var> as its
argument. Otherwise, act as if the <code title="dom-location-replace">replace()</code> method had
- been called with the new value as its argument.</p></li>
+ been called with <var title="">value</var> as its argument.</p></li>
<!--DONAV location.href, defined in terms of the paragraphs far above-->
</ol>
More information about the Commit-Watchers
mailing list