Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[g] (2) Define how a.ping and area.ping work. (This is a poor API. No…
…t sure how to make it better cheaply.)

git-svn-id: http://svn.whatwg.org/webapps@1120 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 3, 2007
1 parent 4a4c087 commit 7327b2c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 13 deletions.
21 changes: 15 additions & 6 deletions index
Expand Up @@ -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>,
Expand Down Expand Up @@ -31182,12 +31192,11 @@ interface <dfn id=sqlstatementerrorcallback>SQLStatementErrorCallback</dfn> {
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
Expand Down
25 changes: 18 additions & 7 deletions source
Expand Up @@ -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
Expand Down Expand Up @@ -28751,13 +28762,13 @@ interface <dfn>SQLStatementErrorCallback</dfn> {
<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
Expand Down

0 comments on commit 7327b2c

Please sign in to comment.