Skip to content
Permalink
Browse files
[acgiowt] (1) Make rel='' values that contain a colon be case-sensiti…
…ve URLs, leaving the others as case-insensitive keywords.

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

git-svn-id: http://svn.whatwg.org/webapps@4533 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 7, 2010
1 parent 9ba5b32 commit 781e55a3066bf5f46f130d245ea0b4c20cba49ae
Showing with 52 additions and 21 deletions.
  1. +17 −7 complete.html
  2. +17 −7 index
  3. +18 −7 source
@@ -48388,8 +48388,9 @@ <h4 id=json><span class=secno>5.5.1 </span>JSON</h4>
the value of the element's <code title="">rel</code> attribute on
spaces</a>, obtaining <var title="">list of tokens</var>.</li>

<li><p><a href=#converted-to-ascii-lowercase title="converted to ASCII lowercase">Convert each token in
<var title="">list of tokens</var> to ASCII lowercase</a>.</li>
<li><p>Convert each token in <var title="">list of tokens</var>
that does not contain a U+003A COLON characters (:) <a href=#converted-to-ascii-lowercase title="converted to ASCII lowercase">to ASCII
lowercase</a>.</li>

<li><p>If <var title="">list of tokens</var> contains more than
one instance of the token <code title=rel-up><a href=#link-type-up>up</a></code>, then
@@ -57156,8 +57157,10 @@ <h4 id=linkTypes><span class=secno>6.12.3 </span>Link types</h4>
more than once per <code title=attr-rel-hyperlink>rel</code>
attribute.</p>

<p>The link types are <a href=#ascii-case-insensitive>ASCII case-insensitive</a>
values<span class=impl>, and must be compared as such</span>.</p>
<p>The link types that contain no U+003A COLON characters (:),
including all those defined in this specification, are <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> values<span class=impl>, and must be
compared as such</span>.</p>

<p class=example>Thus, <code title="">rel="next"</code> is the
same as <code title="">rel="NEXT"</code>.</p>
@@ -58044,9 +58047,16 @@ <h5 id=other-link-types><span class=secno>6.12.3.19 </span>Other link types</h5>

<dl><dt>Keyword</dt>

<dd><p>The actual value being defined. The value should not be
confusingly similar to any other defined value (e.g. differing only
in case).</dd>
<dd>

<p>The actual value being defined. The value should not be
confusingly similar to any other defined value (e.g. differing
only in case).</p>

<p>If the value contains a U+003A COLON character (:), it must
also be an <a href=#absolute-url>absolute URL</a>.</p>

</dd>


<dt>Effect on... <code><a href=#the-link-element>link</a></code></dt>
24 index
@@ -45548,8 +45548,9 @@ document.body.appendChild(outer);</pre>
the value of the element's <code title="">rel</code> attribute on
spaces</a>, obtaining <var title="">list of tokens</var>.</li>

<li><p><a href=#converted-to-ascii-lowercase title="converted to ASCII lowercase">Convert each token in
<var title="">list of tokens</var> to ASCII lowercase</a>.</li>
<li><p>Convert each token in <var title="">list of tokens</var>
that does not contain a U+003A COLON characters (:) <a href=#converted-to-ascii-lowercase title="converted to ASCII lowercase">to ASCII
lowercase</a>.</li>

<li><p>If <var title="">list of tokens</var> contains more than
one instance of the token <code title=rel-up><a href=#link-type-up>up</a></code>, then
@@ -54330,8 +54331,10 @@ State: &lt;OUTPUT NAME=I&gt;1&lt;/OUTPUT&gt; &lt;INPUT VALUE="Increment" TYPE=BU
more than once per <code title=attr-rel-hyperlink>rel</code>
attribute.</p>

<p>The link types are <a href=#ascii-case-insensitive>ASCII case-insensitive</a>
values<span class=impl>, and must be compared as such</span>.</p>
<p>The link types that contain no U+003A COLON characters (:),
including all those defined in this specification, are <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> values<span class=impl>, and must be
compared as such</span>.</p>

<p class=example>Thus, <code title="">rel="next"</code> is the
same as <code title="">rel="NEXT"</code>.</p>
@@ -55218,9 +55221,16 @@ State: &lt;OUTPUT NAME=I&gt;1&lt;/OUTPUT&gt; &lt;INPUT VALUE="Increment" TYPE=BU

<dl><dt>Keyword</dt>

<dd><p>The actual value being defined. The value should not be
confusingly similar to any other defined value (e.g. differing only
in case).</dd>
<dd>

<p>The actual value being defined. The value should not be
confusingly similar to any other defined value (e.g. differing
only in case).</p>

<p>If the value contains a U+003A COLON character (:), it must
also be an <a href=#absolute-url>absolute URL</a>.</p>

</dd>


<dt>Effect on... <code><a href=#the-link-element>link</a></code></dt>
25 source
@@ -54305,8 +54305,10 @@ END:VCARD</pre>
the value of the element's <code title="">rel</code> attribute on
spaces</span>, obtaining <var title="">list of tokens</var>.</p></li>

<li><p><span title="converted to ASCII lowercase">Convert each token in
<var title="">list of tokens</var> to ASCII lowercase</span>.</p></li>
<li><p>Convert each token in <var title="">list of tokens</var>
that does not contain a U+003A COLON characters (:) <span
title="converted to ASCII lowercase">to ASCII
lowercase</span>.</p></li>

<li><p>If <var title="">list of tokens</var> contains more than
one instance of the token <code title="rel-up">up</code>, then
@@ -64520,8 +64522,10 @@ State: &lt;OUTPUT NAME=I>1&lt;/OUTPUT> &lt;INPUT VALUE="Increment" TYPE=BUTTON O
more than once per <code title="attr-rel-hyperlink">rel</code>
attribute.</p>

<p>The link types are <span>ASCII case-insensitive</span>
values<span class="impl">, and must be compared as such</span>.</p>
<p>The link types that contain no U+003A COLON characters (:),
including all those defined in this specification, are <span>ASCII
case-insensitive</span> values<span class="impl">, and must be
compared as such</span>.</p>

<p class="example">Thus, <code title="">rel="next"</code> is the
same as <code title="">rel="NEXT"</code>.</p>
@@ -65555,9 +65559,16 @@ State: &lt;OUTPUT NAME=I>1&lt;/OUTPUT> &lt;INPUT VALUE="Increment" TYPE=BUTTON O

<dt>Keyword</dt>

<dd><p>The actual value being defined. The value should not be
confusingly similar to any other defined value (e.g. differing only
in case).</p></dd>
<dd>

<p>The actual value being defined. The value should not be
confusingly similar to any other defined value (e.g. differing
only in case).</p>

<p>If the value contains a U+003A COLON character (:), it must
also be an <span>absolute URL</span>.</p>

</dd>


<dt>Effect on... <code>link</code></dt>

0 comments on commit 781e55a

Please sign in to comment.