Skip to content

Commit

Permalink
[] (0) experimentally add <meta name=dns content=...>
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@675 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 10, 2007
1 parent 845c40c commit 83034c2
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 54 deletions.
78 changes: 50 additions & 28 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<h1 id=web-applications>Web Applications 1.0</h1>

<h2 class="no-num no-toc" id=working>Working Draft &mdash; 9 March 2007</h2>
<h2 class="no-num no-toc" id=working>Working Draft &mdash; 10 March 2007</h2>

<p>You can take part in this work. <a
href="http://www.whatwg.org/mailing-list">Join the working group's
Expand Down Expand Up @@ -5222,18 +5222,23 @@ data:text/xml,<script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ alert('test

<h4 id=tokens><span class=secno>3.2.5. </span>Tokens</h4>

<p>An <dfn id=unordered>unordered set of space-separated tokens</dfn> is a
set of zero or more words separated by one or more <a href="#space"
title="space character">space characters</a>, where words consist of any
string of one or more characters, none of which are <a href="#space"
title="space character">space characters</a>.
<p>A <dfn id=set-of>set of space-separated tokens</dfn> is a set of zero or
more words separated by one or more <a href="#space" title="space
character">space characters</a>, where words consist of any string of one
or more characters, none of which are <a href="#space" title="space
character">space characters</a>.

<p>A string containing an <a href="#unordered">unordered set of
space-separated tokens</a> may have leading or trailing <a href="#space"
title="space character">space characters</a>.
<p>A string containing a <a href="#set-of">set of space-separated
tokens</a> may have leading or trailing <a href="#space" title="space
character">space characters</a>.

<p class=note>Thus, any string is a valid representation of an <a
href="#unordered">unordered set of space-separated tokens</a>.
<p>An <dfn id=unordered>unordered set of space-separated tokens</dfn> is a
<a href="#set-of">set of space-separated tokens</a> where none of the
words are duplicated.

<p>An <dfn id=ordered>ordered set of unique space-separated tokens</dfn> is
a <a href="#set-of">set of space-separated tokens</a> where none of the
words are duplicated but where the order of the tokens is meaningful.

<p>When a user agent has to <dfn id=split>split a string on spaces</dfn>,
it must use the following algorithm:
Expand Down Expand Up @@ -7007,12 +7012,13 @@ class="main"> or <div class="content">. Why do we also need a body?

<p>The type of link indicated (the relationship) is given by the value of
the <dfn id=rel title=attr-link-rel><code>rel</code></dfn> attribute,
which must be present, with an <a href="#unordered">unordered set of
space-separated tokens</a>. The <a href="#linkTypes">allowed values and
their meanings</a> are defined in a later section. If the <code
title=attr-link-rel><a href="#rel">rel</a></code> attribute is absent, or
if the value used is not allowed according to the definitions in this
specification, then the element does not define a link.
which must be present, and must have a value that is an <a
href="#unordered">unordered set of space-separated tokens</a>. The <a
href="#linkTypes">allowed values and their meanings</a> are defined in a
later section. If the <code title=attr-link-rel><a
href="#rel">rel</a></code> attribute is absent, or if the value used is
not allowed according to the definitions in this specification, then the
element does not define a link.

<p>Two categories of links can be created using the <code><a
href="#link0">link</a></code> element. <dfn id=links1 title="external
Expand Down Expand Up @@ -7309,11 +7315,27 @@ class="main"> or <div class="content">. Why do we also need a body?
<dl>
<dt><dfn id=generator title=meta-generator>generator</dfn>

<dd>The value must be a free-form string that identifies the software used
to generate the document. This value must not be used on hand-authored
pages. WYSIWYG editors have <a href="#wysiwyg3" title="WYSIWYG
signature">additional constraints</a> on the value used with this
metadata name.
<dd>
<p>The value must be a free-form string that identifies the software used
to generate the document. This value must not be used on hand-authored
pages. WYSIWYG editors have <a href="#wysiwyg3" title="WYSIWYG
signature">additional constraints</a> on the value used with this
metadata name.

<dt><dfn id=dns title=meta-dns>dns</dfn>

<dd>
<p>The value must be an <a href="#ordered">ordered set of unique
space-separated tokens</a>, each word of which is a host name. The list
allows authors to provide a list of host names that the user is expected
to subsequently need. User agents may, according to user preferences and
prevailing network conditions, pre-emptively resolve the given DNS names
(extracting the names from the value using the <a href="#split"
title="split a string on spaces">rules for splitting a string on
spaces</a>), thus precaching the DNS information for those hosts and
potentially reducing the time between page loads for subsequent user
interactions. Higher priority should be given to host names given
earlier in the list.
</dl>

<h5 id=other0><span class=secno>3.7.5.2. </span>Other metadata names</h5>
Expand Down Expand Up @@ -21901,7 +21923,7 @@ JSURI: http://ietfreport.isoc.org/all-ids/draft-hoehrmann-javascript-scheme-00.t
relationship between the document containing the hyperlink and the
destination resource indicated by the hyperlink is given by the value of
the element's <dfn id=rel3 title=attr-hyperlink-rel><code>rel</code></dfn>
attribute, which is an <a href="#unordered">unordered set of
attribute, which must be an <a href="#unordered">unordered set of
space-separated tokens</a>. The <a href="#linkTypes">allowed values and
their meanings</a> are defined below. The <code
title=attr-hyperlink-rel><a href="#rel3">rel</a></code> attribute has no
Expand Down Expand Up @@ -36065,11 +36087,11 @@ interface <dfn id=timeouthandler>TimeoutHandler</dfn> {
Dierken<!-- S. Mike Dierken -->, Mike Dixon, Mike Schinkel, Mike Shaver,
Mikko Rantalainen, Neil Deakin, Olav Junker Kj&aelig;r, Rimantas
Liubertas, Robert O'Callahan, Robert Sayre, Roman Ivanov, S. Mike Dierken,
Sam Ruby, Shadow2531, Shaun Inman, Simon Pieters, Stefan Haustein, Stephen
Ma, Steve Runyon, Steven Garrity, Stewart Brodie, Stuart Parmenter, Tantek
&Ccedil;elik, Thomas Broyer, Thomas O'Connor, Tim Altman, Vladimir
Vuki&#x0107;evi&#x0107;, William Swanson, and everyone on the WHATWG
mailing list for their useful and substantial comments.
Sam Ruby, Sean Knapp, Shadow2531, Shaun Inman, Simon Pieters, Stefan
Haustein, Stephen Ma, Steve Runyon, Steven Garrity, Stewart Brodie, Stuart
Parmenter, Tantek &Ccedil;elik, Thomas Broyer, Thomas O'Connor, Tim
Altman, Vladimir Vuki&#x0107;evi&#x0107;, William Swanson, and everyone on
the WHATWG mailing list for their useful and substantial comments.

<p>Special thanks to Richard Williamson for creating the first
implementation of <code><a href="#canvas">canvas</a></code> in Safari,
Expand Down
73 changes: 47 additions & 26 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -4065,18 +4065,23 @@ data:text/xml,<script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ alert('test

<h4>Tokens</h4>

<p>An <dfn>unordered set of space-separated tokens</dfn> is a set of
zero or more words separated by one or more <span title="space
<p>A <dfn>set of space-separated tokens</dfn> is a set of zero or
more words separated by one or more <span title="space
character">space characters</span>, where words consist of any
string of one or more characters, none of which are <span
title="space character">space characters</span>.</p>

<p>A string containing an <span>unordered set of space-separated
tokens</span> may have leading or trailing <span title="space
character">space characters</span>.</p>
<p>A string containing a <span>set of space-separated tokens</span>
may have leading or trailing <span title="space character">space
characters</span>.</p>

<p class="note">Thus, any string is a valid representation of an
<span>unordered set of space-separated tokens</span>.</p>
<p>An <dfn>unordered set of space-separated tokens</dfn> is a
<span>set of space-separated tokens</span> where none of the words
are duplicated.</p>

<p>An <dfn>ordered set of unique space-separated tokens</dfn> is a
<span>set of space-separated tokens</span> where none of the words
are duplicated but where the order of the tokens is meaningful.</p>

<p>When a user agent has to <dfn>split a string on spaces</dfn>, it
must use the following algorithm:</p>
Expand Down Expand Up @@ -5739,12 +5744,13 @@ class="main"> or <div class="content">. Why do we also need a body?

<p>The type of link indicated (the relationship) is given by the
value of the <dfn title="attr-link-rel"><code>rel</code></dfn>
attribute, which must be present, with an <span>unordered set of
space-separated tokens</span>. The <a href="#linkTypes">allowed
values and their meanings</a> are defined in a later section. If the
<code title="attr-link-rel">rel</code> attribute is absent, or if
the value used is not allowed according to the definitions in this
specification, then the element does not define a link.</p>
attribute, which must be present, and must have a value that is an
<span>unordered set of space-separated tokens</span>. The <a
href="#linkTypes">allowed values and their meanings</a> are defined
in a later section. If the <code title="attr-link-rel">rel</code>
attribute is absent, or if the value used is not allowed according
to the definitions in this specification, then the element does not
define a link.</p>

<p>Two categories of links can be created using the
<code>link</code> element. <dfn title="external resource link">Links
Expand Down Expand Up @@ -6029,11 +6035,26 @@ class="main"> or <div class="content">. Why do we also need a body?

<dt><dfn title="meta-generator">generator</dfn></dt>

<dd>The value must be a free-form string that identifies the
<dd><p>The value must be a free-form string that identifies the
software used to generate the document. This value must not be used
on hand-authored pages. WYSIWYG editors have <span title="WYSIWYG
signature">additional constraints</span> on the value used with
this metadata name.</dd>
this metadata name.</p></dd>

<dt><dfn title="meta-dns">dns</dfn></dt>

<dd><p>The value must be an <span>ordered set of unique
space-separated tokens</span>, each word of which is a host
name. The list allows authors to provide a list of host names that
the user is expected to subsequently need. User agents may,
according to user preferences and prevailing network conditions,
pre-emptively resolve the given DNS names (extracting the names
from the value using the <span title="split a string on
spaces">rules for splitting a string on spaces</span>), thus
precaching the DNS information for those hosts and potentially
reducing the time between page loads for subsequent user
interactions. Higher priority should be given to host names given
earlier in the list.</p></dd>

</dl>

Expand Down Expand Up @@ -19700,13 +19721,13 @@ JSURI: http://ietfreport.isoc.org/all-ids/draft-hoehrmann-javascript-scheme-00.t
hyperlink and the destination resource indicated by the hyperlink is
given by the value of the element's <dfn
title="attr-hyperlink-rel"><code>rel</code></dfn> attribute, which
is an <span>unordered set of space-separated tokens</span>. The <a
href="#linkTypes">allowed values and their meanings</a> are defined
below. The <code title="attr-hyperlink-rel">rel</code> attribute has
no default value. If the attribute is omitted or if none of the
values in the attribute are recognised by the UA, then the document
has no particular relationship with the destination resource other
than there being a hyperlink between the two.</p>
must be an <span>unordered set of space-separated tokens</span>. The
<a href="#linkTypes">allowed values and their meanings</a> are
defined below. The <code title="attr-hyperlink-rel">rel</code>
attribute has no default value. If the attribute is omitted or if
none of the values in the attribute are recognised by the UA, then
the document has no particular relationship with the destination
resource other than there being a hyperlink between the two.</p>

<p>The <dfn title="attr-hyperlink-media"><code>media</code></dfn>
attribute describes for which media the target document was
Expand Down Expand Up @@ -32938,10 +32959,10 @@ interface <dfn>TimeoutHandler</dfn> {
Design -->, Mike Dierken<!-- S. Mike Dierken -->, Mike Dixon, Mike
Schinkel, Mike Shaver, Mikko Rantalainen, Neil Deakin, Olav Junker
Kj&aelig;r, Rimantas Liubertas, Robert O'Callahan, Robert Sayre,
Roman Ivanov, S. Mike Dierken, Sam Ruby, Shadow2531, Shaun Inman,
Simon Pieters, Stefan Haustein, Stephen Ma, Steve Runyon, Steven
Garrity, Stewart Brodie, Stuart Parmenter, Tantek &Ccedil;elik,
Thomas Broyer, Thomas O'Connor, Tim Altman, Vladimir
Roman Ivanov, S. Mike Dierken, Sam Ruby, Sean Knapp, Shadow2531,
Shaun Inman, Simon Pieters, Stefan Haustein, Stephen Ma, Steve
Runyon, Steven Garrity, Stewart Brodie, Stuart Parmenter, Tantek
&Ccedil;elik, Thomas Broyer, Thomas O'Connor, Tim Altman, Vladimir
Vuki&#x0107;evi&#x0107;, William Swanson, and everyone on the WHATWG
mailing list for their useful and substantial comments.</p>

Expand Down

0 comments on commit 83034c2

Please sign in to comment.