Skip to content

Commit

Permalink
[e] (0) clarify which rel=icon you use when converting to Atom, if th…
Browse files Browse the repository at this point in the history
…ere are many

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11704

git-svn-id: http://svn.whatwg.org/webapps@5849 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 8, 2011
1 parent bdeb95d commit 99a770e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 19 deletions.
14 changes: 8 additions & 6 deletions complete.html
Expand Up @@ -57201,15 +57201,17 @@ <h4 id=atom><span class=secno>5.5.3 </span>Atom</h4>

<li>

<p>If there is a <code><a href=#the-link-element>link</a></code> element whose <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute's value includes the
keyword <code title=rel-icon><a href=#rel-icon>icon</a></code>, and that element also
has an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute whose
value successfully <a href=#resolve-a-url title="resolve a url">resolves</a>
relative to the <code><a href=#the-link-element>link</a></code> element, then append an <code title="">icon</code> element in the <a href=#atom-namespace>Atom namespace</a> to
<p>If there is a <code><a href=#the-link-element>link</a></code> element with a <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute, and <a href=#split-a-string-on-spaces title="split
a string on spaces">splitting on spaces</a> the value of that
attribute results in a list which has at least one token that is
an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title=rel-icon><a href=#rel-icon>icon</a></code>", and that element also has an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute whose value
successfully <a href=#resolve-a-url title="resolve a url">resolves</a> relative
to the <code><a href=#the-link-element>link</a></code> element, then append an <code title="">icon</code> element in the <a href=#atom-namespace>Atom namespace</a> to
the root element of <var title="">R</var> whose contents is a text
node with its data set to the <a href=#absolute-url>absolute URL</a> resulting
from <a href=#resolve-a-url title="resolve a url">resolving</a> the value of the
<code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute.</p>
<code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute of the first
such <code><a href=#the-link-element>link</a></code> element.</p>

<!-- could check ratio, could check type... -->

Expand Down
14 changes: 8 additions & 6 deletions index
Expand Up @@ -57184,15 +57184,17 @@ _:n2 hcard:adr%20street-address "Avenue Q" ;

<li>

<p>If there is a <code><a href=#the-link-element>link</a></code> element whose <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute's value includes the
keyword <code title=rel-icon><a href=#rel-icon>icon</a></code>, and that element also
has an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute whose
value successfully <a href=#resolve-a-url title="resolve a url">resolves</a>
relative to the <code><a href=#the-link-element>link</a></code> element, then append an <code title="">icon</code> element in the <a href=#atom-namespace>Atom namespace</a> to
<p>If there is a <code><a href=#the-link-element>link</a></code> element with a <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute, and <a href=#split-a-string-on-spaces title="split
a string on spaces">splitting on spaces</a> the value of that
attribute results in a list which has at least one token that is
an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title=rel-icon><a href=#rel-icon>icon</a></code>", and that element also has an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute whose value
successfully <a href=#resolve-a-url title="resolve a url">resolves</a> relative
to the <code><a href=#the-link-element>link</a></code> element, then append an <code title="">icon</code> element in the <a href=#atom-namespace>Atom namespace</a> to
the root element of <var title="">R</var> whose contents is a text
node with its data set to the <a href=#absolute-url>absolute URL</a> resulting
from <a href=#resolve-a-url title="resolve a url">resolving</a> the value of the
<code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute.</p>
<code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute of the first
such <code><a href=#the-link-element>link</a></code> element.</p>

<!-- could check ratio, could check type... -->

Expand Down
18 changes: 11 additions & 7 deletions source
Expand Up @@ -64925,17 +64925,21 @@ _:n2 hcard:adr%20street-address "Avenue Q" ;

<li>

<p>If there is a <code>link</code> element whose <code
title="attr-link-rel">rel</code> attribute's value includes the
keyword <code title="rel-icon">icon</code>, and that element also
has an <code title="attr-link-href">href</code> attribute whose
value successfully <span title="resolve a url">resolves</span>
relative to the <code>link</code> element, then append an <code
<p>If there is a <code>link</code> element with a <code
title="attr-link-rel">rel</code> attribute, and <span title="split
a string on spaces">splitting on spaces</span> the value of that
attribute results in a list which has at least one token that is
an <span>ASCII case-insensitive</span> match for the string "<code
title="rel-icon">icon</code>", and that element also has an <code
title="attr-link-href">href</code> attribute whose value
successfully <span title="resolve a url">resolves</span> relative
to the <code>link</code> element, then append an <code
title="">icon</code> element in the <span>Atom namespace</span> to
the root element of <var title="">R</var> whose contents is a text
node with its data set to the <span>absolute URL</span> resulting
from <span title="resolve a url">resolving</span> the value of the
<code title="attr-link-href">href</code> attribute.</p>
<code title="attr-link-href">href</code> attribute of the first
such <code>link</code> element.</p>

<!-- could check ratio, could check type... -->

Expand Down

0 comments on commit 99a770e

Please sign in to comment.