[html5] r1120 - /
whatwg at whatwg.org
whatwg at whatwg.org
Sat Nov 3 02:18:34 PDT 2007
Author: ianh
Date: 2007-11-03 02:18:33 -0700 (Sat, 03 Nov 2007)
New Revision: 1120
Modified:
index
source
Log:
[g] (2) Define how a.ping and area.ping work. (This is a poor API. Not sure how to make it better cheaply.)
Modified: index
===================================================================
--- index 2007-11-03 08:44:39 UTC (rev 1119)
+++ index 2007-11-03 09:18:33 UTC (rev 1120)
@@ -2839,6 +2839,16 @@
attribute must return the default value, if the content attribute has one,
or else the empty string.
+ <p>If a reflecting DOM attribute is a <code>DOMString</code> attribute
+ whose content attribute is defined to contain one or more URIs, then on
+ getting, the DOM attribute must <span title="split the string on
+ spaces">split the content attribute on spaces</span> and return the
+ concatenation of each token URI, resolved to an absolute URI, with a
+ single U+0020 SPACE character between each URI; and on setting, must set
+ the content attribute to the specified literal value. If the content
+ attribute is absent, the DOM attribute must return the default value, if
+ the content attribute has one, or else the empty string.
+
<p>If a reflecting DOM attribute is a <code>DOMString</code> whose content
attribute is an <a href="#enumerated">enumerated attribute</a>, and the
DOM attribute is <dfn id=limited0>limited to only known values</dfn>,
@@ -31182,12 +31192,11 @@
title=attr-hyperlink-ping><a href="#ping">ping</a></code> attribute and
the user follows the hyperlink, the user agent must take the <code
title=attr-hyperlink-ping><a href="#ping">ping</a></code> attribute's
- value, strip leading and trailing <a href="#space" title="space
- character">spaces</a>, split the value on sequences of spaces, treat each
- resulting part as a URI (resolving relative URIs according to element's
- base URI) and then should send a request to each of the resulting URIs.
- This may be done in parallel with the primary request, and is independent
- of the result of that request.
+ value, <span title="split the string on spaces">split that string on
+ spaces</span>, treat each resulting token as a URI (resolving relative
+ URIs according to element's base URI) and then should send a request to
+ each of the resulting URIs. This may be done in parallel with the primary
+ request, and is independent of the result of that request.
<p>User agents should allow the user to adjust this behaviour, for example
in conjunction with a setting that disables the sending of HTTP <coe
Modified: source
===================================================================
--- source 2007-11-03 08:44:39 UTC (rev 1119)
+++ source 2007-11-03 09:18:33 UTC (rev 1120)
@@ -1259,6 +1259,17 @@
value, if the content attribute has one, or else the empty
string.</p>
+ <p>If a reflecting DOM attribute is a <code>DOMString</code>
+ attribute whose content attribute is defined to contain one or more
+ URIs, then on getting, the DOM attribute must <span title="split the
+ string on spaces">split the content attribute on spaces</span> and
+ return the concatenation of each token URI, resolved to an absolute
+ URI, with a single U+0020 SPACE character between each URI; and on
+ setting, must set the content attribute to the specified literal
+ value. If the content attribute is absent, the DOM attribute must
+ return the default value, if the content attribute has one, or else
+ the empty string.</p>
+
<p>If a reflecting DOM attribute is a <code>DOMString</code> whose
content attribute is an <span>enumerated attribute</span>, and the
DOM attribute is <dfn>limited to only known values</dfn>, then, on
@@ -28751,13 +28762,13 @@
<p>If an <code>a</code> or <code>area</code> hyperlink element has a
<code title="attr-hyperlink-ping">ping</code> attribute and the user
follows the hyperlink, the user agent must take the <code
- title="attr-hyperlink-ping">ping</code> attribute's value, strip
- leading and trailing <span title="space character">spaces</span>,
- split the value on sequences of spaces, treat each resulting part as
- a URI (resolving relative URIs according to element's base URI) and
- then should send a request to each of the resulting URIs. This may
- be done in parallel with the primary request, and is independent of
- the result of that request.</p>
+ title="attr-hyperlink-ping">ping</code> attribute's value, <span
+ title="split the string on spaces">split that string on
+ spaces</span>, treat each resulting token as a URI (resolving
+ relative URIs according to element's base URI) and then should send
+ a request to each of the resulting URIs. This may be done in
+ parallel with the primary request, and is independent of the result
+ of that request.</p>
<p>User agents should allow the user to adjust this behaviour, for
example in conjunction with a setting that disables the sending of
More information about the Commit-Watchers
mailing list