[html5] r7347 - [e] (0) Examples for rel=tag Fixing https://www.w3.org/Bugs/Public/show_bug.cgi? [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Sep 13 23:44:47 PDT 2012


Author: ianh
Date: 2012-09-13 23:44:46 -0700 (Thu, 13 Sep 2012)
New Revision: 7347

Modified:
   complete.html
   index
   source
Log:
[e] (0) Examples for rel=tag
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=15914
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-09-14 00:05:33 UTC (rev 7346)
+++ complete.html	2012-09-14 06:44:46 UTC (rev 7347)
@@ -61841,8 +61841,67 @@
   in the markup of a <a href=#tag-cloud>tag cloud</a>, which lists
   the popular tags across a set of pages.</p>
 
+  <div class=example>
 
+   <p>This document is about some gems, and so it is <i>tagged</i>
+   with "<code title="">http://en.wikipedia.org/wiki/Gemstone</code>"
+   to unambiguously categorise it as applying to the "jewel" kind of
+   gems, and not to, say, the towns in the US, the Ruby package
+   format, or the Swiss locomotive class:</p>
 
+   <pre><!DOCTYPE HTML>
+<html>
+ <head>
+  <title>My Precious</title>
+ </head>
+ <body>
+  <header><h1>My precious</h1> <p>Summer 2012</p></header>
+  <p>Recently I managed to dispose of a red gem that had been
+  bothering me. I now have a much nicer blue sapphire.</p>
+  <p>The red gem had been found in a bauxite stone while I was digging
+  out the office level, but nobody was willing to haul it away. The
+  same red gem stayed there for literally years.</p>
+  <footer>
+   Tags: <a rel=tag href="http://en.wikipedia.org/wiki/Gemstone">Gemstone</a>
+  </footer>
+ </body>
+</html></pre>
+
+  </div>
+
+  <div class=example>
+
+   <p>In <em>this</em> document, there are two articles. The "<code title=rel-tag><a href=#link-type-tag>tag</a></code>" link, however, applies to the whole
+   page (and would do so wherever it was placed, including if it was
+   within the <code><a href=#the-article-element>article</a></code> elements).</p>
+
+   <pre><!DOCTYPE HTML>
+<html>
+ <head>
+  <title>Gem 4/4</title>
+ </head>
+ <body>
+  <article>
+   <h1>801: Steinbock</h1>
+   <p>The number 801 Gem 4/4 electro-diesel has an ibex and was rebuilt in 2002.</p>
+  </article>
+  <article>
+   <h1>802: Murmeltier</h1>
+   <figure>
+    <img src="http://upload.wikimedia.org/wikipedia/commons/b/b0/Trains_de_la_Bernina_en_hiver_2.jpg"
+         alt="The 802 was red with pantographs and tall vents on the side.">
+    <figcaption>The 802 in the 1980s, above Lago Bianco.</figcaption>
+   </figure>
+   <p>The number 802 Gem 4/4 electro-diesel has a marmot and was rebuilt in 2003.</p>
+  </article>
+  <p class="topic"><a rel=tag href="http://en.wikipedia.org/wiki/Rhaetian_Railway_Gem_4/4">Gem 4/4</a></p>
+ </body>
+</html></pre>
+
+  </div>
+
+
+
   <h5 id=sequential-link-types><span class=secno>4.12.5.13 </span>Sequential link types</h5>
 
   <p>Some documents form part of a sequence of documents.</p>

Modified: index
===================================================================
--- index	2012-09-14 00:05:33 UTC (rev 7346)
+++ index	2012-09-14 06:44:46 UTC (rev 7347)
@@ -61841,8 +61841,67 @@
   in the markup of a <a href=#tag-cloud>tag cloud</a>, which lists
   the popular tags across a set of pages.</p>
 
+  <div class=example>
 
+   <p>This document is about some gems, and so it is <i>tagged</i>
+   with "<code title="">http://en.wikipedia.org/wiki/Gemstone</code>"
+   to unambiguously categorise it as applying to the "jewel" kind of
+   gems, and not to, say, the towns in the US, the Ruby package
+   format, or the Swiss locomotive class:</p>
 
+   <pre><!DOCTYPE HTML>
+<html>
+ <head>
+  <title>My Precious</title>
+ </head>
+ <body>
+  <header><h1>My precious</h1> <p>Summer 2012</p></header>
+  <p>Recently I managed to dispose of a red gem that had been
+  bothering me. I now have a much nicer blue sapphire.</p>
+  <p>The red gem had been found in a bauxite stone while I was digging
+  out the office level, but nobody was willing to haul it away. The
+  same red gem stayed there for literally years.</p>
+  <footer>
+   Tags: <a rel=tag href="http://en.wikipedia.org/wiki/Gemstone">Gemstone</a>
+  </footer>
+ </body>
+</html></pre>
+
+  </div>
+
+  <div class=example>
+
+   <p>In <em>this</em> document, there are two articles. The "<code title=rel-tag><a href=#link-type-tag>tag</a></code>" link, however, applies to the whole
+   page (and would do so wherever it was placed, including if it was
+   within the <code><a href=#the-article-element>article</a></code> elements).</p>
+
+   <pre><!DOCTYPE HTML>
+<html>
+ <head>
+  <title>Gem 4/4</title>
+ </head>
+ <body>
+  <article>
+   <h1>801: Steinbock</h1>
+   <p>The number 801 Gem 4/4 electro-diesel has an ibex and was rebuilt in 2002.</p>
+  </article>
+  <article>
+   <h1>802: Murmeltier</h1>
+   <figure>
+    <img src="http://upload.wikimedia.org/wikipedia/commons/b/b0/Trains_de_la_Bernina_en_hiver_2.jpg"
+         alt="The 802 was red with pantographs and tall vents on the side.">
+    <figcaption>The 802 in the 1980s, above Lago Bianco.</figcaption>
+   </figure>
+   <p>The number 802 Gem 4/4 electro-diesel has a marmot and was rebuilt in 2003.</p>
+  </article>
+  <p class="topic"><a rel=tag href="http://en.wikipedia.org/wiki/Rhaetian_Railway_Gem_4/4">Gem 4/4</a></p>
+ </body>
+</html></pre>
+
+  </div>
+
+
+
   <h5 id=sequential-link-types><span class=secno>4.12.5.13 </span>Sequential link types</h5>
 
   <p>Some documents form part of a sequence of documents.</p>

Modified: source
===================================================================
--- source	2012-09-14 00:05:33 UTC (rev 7346)
+++ source	2012-09-14 06:44:46 UTC (rev 7347)
@@ -72300,8 +72300,68 @@
   in the markup of a <a href="#tag-cloud">tag cloud</a>, which lists
   the popular tags across a set of pages.</p>
 
+  <div class="example">
 
+   <p>This document is about some gems, and so it is <i>tagged</i>
+   with "<code title="">http://en.wikipedia.org/wiki/Gemstone</code>"
+   to unambiguously categorise it as applying to the "jewel" kind of
+   gems, and not to, say, the towns in the US, the Ruby package
+   format, or the Swiss locomotive class:</p>
 
+   <pre><!DOCTYPE HTML>
+<html>
+ <head>
+  <title>My Precious</title>
+ </head>
+ <body>
+  <header><h1>My precious</h1> <p>Summer 2012</p></header>
+  <p>Recently I managed to dispose of a red gem that had been
+  bothering me. I now have a much nicer blue sapphire.</p>
+  <p>The red gem had been found in a bauxite stone while I was digging
+  out the office level, but nobody was willing to haul it away. The
+  same red gem stayed there for literally years.</p>
+  <footer>
+   Tags: <a rel=tag href="http://en.wikipedia.org/wiki/Gemstone">Gemstone</a>
+  </footer>
+ </body>
+</html></pre>
+
+  </div>
+
+  <div class="example">
+
+   <p>In <em>this</em> document, there are two articles. The "<code
+   title="rel-tag">tag</code>" link, however, applies to the whole
+   page (and would do so wherever it was placed, including if it was
+   within the <code>article</code> elements).</p>
+
+   <pre><!DOCTYPE HTML>
+<html>
+ <head>
+  <title>Gem 4/4</title>
+ </head>
+ <body>
+  <article>
+   <h1>801: Steinbock</h1>
+   <p>The number 801 Gem 4/4 electro-diesel has an ibex and was rebuilt in 2002.</p>
+  </article>
+  <article>
+   <h1>802: Murmeltier</h1>
+   <figure>
+    <img src="http://upload.wikimedia.org/wikipedia/commons/b/b0/Trains_de_la_Bernina_en_hiver_2.jpg"
+         alt="The 802 was red with pantographs and tall vents on the side.">
+    <figcaption>The 802 in the 1980s, above Lago Bianco.</figcaption>
+   </figure>
+   <p>The number 802 Gem 4/4 electro-diesel has a marmot and was rebuilt in 2003.</p>
+  </article>
+  <p class="topic"><a rel=tag href="http://en.wikipedia.org/wiki/Rhaetian_Railway_Gem_4/4">Gem 4/4</a></p>
+ </body>
+</html></pre>
+
+  </div>
+
+
+
   <h5>Sequential link types</h5>
 
   <p>Some documents form part of a sequence of documents.</p>




More information about the Commit-Watchers mailing list