[html5] r4602 - [e] (0) fix vCard example to have better line-wrapping and say why

whatwg at whatwg.org whatwg at whatwg.org
Sun Jan 17 01:04:35 PST 2010


Author: ianh
Date: 2010-01-17 01:04:33 -0800 (Sun, 17 Jan 2010)
New Revision: 4602

Modified:
   complete.html
   index
   source
Log:
[e] (0) fix vCard example to have better line-wrapping and say why

Modified: complete.html
===================================================================
--- complete.html	2010-01-17 08:59:11 UTC (rev 4601)
+++ complete.html	2010-01-17 09:04:33 UTC (rev 4602)
@@ -47611,29 +47611,24 @@
  </p>
  <h2>Assorted Contact Methods</h2>
  <ul>
-  <li itemprop="tel" itemscope><span itemprop="value">+1 (310)
-  597 3781</span> <span itemprop="type">work</span> <meta
-  itemprop="type" content="pref"></li>
-  <li><a itemprop="url"
-  href="http://en.wikipedia.org/wiki/Jack_Bauer">I'm on
-  Wikipedia</a> so you can leave a message on my user talk
-  page.</li>
-  <li><a itemprop="url"
-  href="http://www.jackbauerfacts.com/">Jack Bauer Facts</a></li>
-  <li itemprop="email"><a
-  href="mailto:j.bauer at la.ctu.gov.invalid">j.bauer at la.ctu.gov.invalid</a></li>
-  <li itemprop="tel" itemscope><span itemprop="value">+1 (310) 555
-  3781</span> <span><meta itemprop="type" content="cell">mobile
-  phone</span></li>
+  <li itemprop="tel" itemscope>
+   <span itemprop="value">+1 (310) 597 3781</span> <span itemprop="type">work</span>
+   <meta itemprop="type" content="pref">
+  </li>
+  <li><a itemprop="url" href="http://en.wikipedia.org/wiki/Jack_Bauer">I'm on Wikipedia</a>
+  so you can leave a message on my user talk page.</li>
+  <li><a itemprop="url" href="http://www.jackbauerfacts.com/">Jack Bauer Facts</a></li>
+  <li itemprop="email"><a href="mailto:j.bauer at la.ctu.gov.invalid">j.bauer at la.ctu.gov.invalid</a></li>
+  <li itemprop="tel" itemscope>
+   <span itemprop="value">+1 (310) 555 3781</span> <span>
+   <meta itemprop="type" content="cell">mobile phone</span>
+  </li>
  </ul>
- <p itemprop="note">If I'm out in the field, you may be better off
- contacting <span itemprop="agent" itemscope
- itemtype="http://microformats.org/profile/hcard"><a
+ <p itemprop="note">If I'm out in the field, you may be better off contacting <span
+ itemprop="agent" itemscope itemtype="http://microformats.org/profile/hcard"><a
  itemprop="email" href="mailto:c.obrian at la.ctu.gov.invalid"><span
- itemprop="fn">Chloe O'Brian</span></a></span> if it's about
- work, or ask <span itemprop="agent">Tony Almeida</span> if
- you're interested in the CTU five-a-side football team we're trying
- to get going.</p>
+ itemprop="fn">Chloe O'Brian</span></a></span> if it's about work, or ask <span
+ itemprop="agent">Tony Almeida</span> if you're interested in the CTU five-a-side football team we're trying to get going.</p>
  <ins datetime="2008-07-20T21:00:00+0100">
   <span itemprop="rev" itemscope>
    <meta itemprop="type" content="date-time">
@@ -47645,6 +47640,10 @@
  </ins>
 </section></pre>
 
+   <p>The odd line wrapping is needed because newlines are meaningful
+   in microdata: newlines would be preserved in a conversion to, for
+   example, the vCard format.<p>
+
   </div>
 
   <div class=example>

Modified: index
===================================================================
--- index	2010-01-17 08:59:11 UTC (rev 4601)
+++ index	2010-01-17 09:04:33 UTC (rev 4602)
@@ -47511,29 +47511,24 @@
  </p>
  <h2>Assorted Contact Methods</h2>
  <ul>
-  <li itemprop="tel" itemscope><span itemprop="value">+1 (310)
-  597 3781</span> <span itemprop="type">work</span> <meta
-  itemprop="type" content="pref"></li>
-  <li><a itemprop="url"
-  href="http://en.wikipedia.org/wiki/Jack_Bauer">I'm on
-  Wikipedia</a> so you can leave a message on my user talk
-  page.</li>
-  <li><a itemprop="url"
-  href="http://www.jackbauerfacts.com/">Jack Bauer Facts</a></li>
-  <li itemprop="email"><a
-  href="mailto:j.bauer at la.ctu.gov.invalid">j.bauer at la.ctu.gov.invalid</a></li>
-  <li itemprop="tel" itemscope><span itemprop="value">+1 (310) 555
-  3781</span> <span><meta itemprop="type" content="cell">mobile
-  phone</span></li>
+  <li itemprop="tel" itemscope>
+   <span itemprop="value">+1 (310) 597 3781</span> <span itemprop="type">work</span>
+   <meta itemprop="type" content="pref">
+  </li>
+  <li><a itemprop="url" href="http://en.wikipedia.org/wiki/Jack_Bauer">I'm on Wikipedia</a>
+  so you can leave a message on my user talk page.</li>
+  <li><a itemprop="url" href="http://www.jackbauerfacts.com/">Jack Bauer Facts</a></li>
+  <li itemprop="email"><a href="mailto:j.bauer at la.ctu.gov.invalid">j.bauer at la.ctu.gov.invalid</a></li>
+  <li itemprop="tel" itemscope>
+   <span itemprop="value">+1 (310) 555 3781</span> <span>
+   <meta itemprop="type" content="cell">mobile phone</span>
+  </li>
  </ul>
- <p itemprop="note">If I'm out in the field, you may be better off
- contacting <span itemprop="agent" itemscope
- itemtype="http://microformats.org/profile/hcard"><a
+ <p itemprop="note">If I'm out in the field, you may be better off contacting <span
+ itemprop="agent" itemscope itemtype="http://microformats.org/profile/hcard"><a
  itemprop="email" href="mailto:c.obrian at la.ctu.gov.invalid"><span
- itemprop="fn">Chloe O'Brian</span></a></span> if it's about
- work, or ask <span itemprop="agent">Tony Almeida</span> if
- you're interested in the CTU five-a-side football team we're trying
- to get going.</p>
+ itemprop="fn">Chloe O'Brian</span></a></span> if it's about work, or ask <span
+ itemprop="agent">Tony Almeida</span> if you're interested in the CTU five-a-side football team we're trying to get going.</p>
  <ins datetime="2008-07-20T21:00:00+0100">
   <span itemprop="rev" itemscope>
    <meta itemprop="type" content="date-time">
@@ -47545,6 +47540,10 @@
  </ins>
 </section></pre>
 
+   <p>The odd line wrapping is needed because newlines are meaningful
+   in microdata: newlines would be preserved in a conversion to, for
+   example, the vCard format.<p>
+
   </div>
 
   <div class=example>

Modified: source
===================================================================
--- source	2010-01-17 08:59:11 UTC (rev 4601)
+++ source	2010-01-17 09:04:33 UTC (rev 4602)
@@ -53430,29 +53430,24 @@
  </p>
  <h2>Assorted Contact Methods</h2>
  <ul>
-  <li itemprop="tel" itemscope><span itemprop="value">+1 (310)
-  597 3781</span> <span itemprop="type">work</span> <meta
-  itemprop="type" content="pref"></li>
-  <li><a itemprop="url"
-  href="http://en.wikipedia.org/wiki/Jack_Bauer">I'm on
-  Wikipedia</a> so you can leave a message on my user talk
-  page.</li>
-  <li><a itemprop="url"
-  href="http://www.jackbauerfacts.com/">Jack Bauer Facts</a></li>
-  <li itemprop="email"><a
-  href="mailto:j.bauer at la.ctu.gov.invalid">j.bauer at la.ctu.gov.invalid</a></li>
-  <li itemprop="tel" itemscope><span itemprop="value">+1 (310) 555
-  3781</span> <span><meta itemprop="type" content="cell">mobile
-  phone</span></li>
+  <li itemprop="tel" itemscope>
+   <span itemprop="value">+1 (310) 597 3781</span> <span itemprop="type">work</span>
+   <meta itemprop="type" content="pref">
+  </li>
+  <li><a itemprop="url" href="http://en.wikipedia.org/wiki/Jack_Bauer">I'm on Wikipedia</a>
+  so you can leave a message on my user talk page.</li>
+  <li><a itemprop="url" href="http://www.jackbauerfacts.com/">Jack Bauer Facts</a></li>
+  <li itemprop="email"><a href="mailto:j.bauer at la.ctu.gov.invalid">j.bauer at la.ctu.gov.invalid</a></li>
+  <li itemprop="tel" itemscope>
+   <span itemprop="value">+1 (310) 555 3781</span> <span>
+   <meta itemprop="type" content="cell">mobile phone</span>
+  </li>
  </ul>
- <p itemprop="note">If I'm out in the field, you may be better off
- contacting <span itemprop="agent" itemscope
- itemtype="http://microformats.org/profile/hcard"><a
+ <p itemprop="note">If I'm out in the field, you may be better off contacting <span
+ itemprop="agent" itemscope itemtype="http://microformats.org/profile/hcard"><a
  itemprop="email" href="mailto:c.obrian at la.ctu.gov.invalid"><span
- itemprop="fn">Chloe O'Brian</span></a></span> if it's about
- work, or ask <span itemprop="agent">Tony Almeida</span> if
- you're interested in the CTU five-a-side football team we're trying
- to get going.</p>
+ itemprop="fn">Chloe O'Brian</span></a></span> if it's about work, or ask <span
+ itemprop="agent">Tony Almeida</span> if you're interested in the CTU five-a-side football team we're trying to get going.</p>
  <ins datetime="2008-07-20T21:00:00+0100">
   <span itemprop="rev" itemscope>
    <meta itemprop="type" content="date-time">
@@ -53464,6 +53459,10 @@
  </ins>
 </section></pre>
 
+   <p>The odd line wrapping is needed because newlines are meaningful
+   in microdata: newlines would be preserved in a conversion to, for
+   example, the vCard format.<p>
+
   </div>
 
   <div class="example">




More information about the Commit-Watchers mailing list