Skip to content

Commit

Permalink
[c] (0) Allow <link itemprop> without rel=''.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8340

git-svn-id: http://svn.whatwg.org/webapps@4515 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 6, 2010
1 parent caceccc commit 70dd560
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 17 deletions.
13 changes: 8 additions & 5 deletions complete.html
Expand Up @@ -10695,13 +10695,16 @@ <h4 id=the-link-element><span class=secno>4.2.4 </span>The <dfn><code>link</code
attribute is absent, then the element does not define a
link.</span></p>

<p>A <code><a href=#the-link-element>link</a></code> element must have either a <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute, or an <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute, or both.</p>

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

<p>Two categories of links can be created using the
<code><a href=#the-link-element>link</a></code> element. <dfn id=external-resource-link title="external resource link">Links
Expand Down
13 changes: 8 additions & 5 deletions index
Expand Up @@ -10530,13 +10530,16 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p&gt;
attribute is absent, then the element does not define a
link.</span></p>

<p>A <code><a href=#the-link-element>link</a></code> element must have either a <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute, or an <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute, or both.</p>

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

<p>Two categories of links can be created using the
<code><a href=#the-link-element>link</a></code> element. <dfn id=external-resource-link title="external resource link">Links
Expand Down
18 changes: 11 additions & 7 deletions source
Expand Up @@ -11002,15 +11002,19 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p>
attribute is absent, then the element does not define a
link.</span></p>

<p>A <code>link</code> element must have either a <code
title="attr-link-rel">rel</code> attribute, or an <code
title="attr-itemprop">itemprop</code> attribute, or both.</p>

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

<p>Two categories of links can be created using the
<code>link</code> element. <dfn title="external resource link">Links
Expand Down

0 comments on commit 70dd560

Please sign in to comment.