hcard-tests: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
Line 16: Line 16:


=== a few more ===
=== a few more ===
<div class="vcard">
<span class="fn">John Doe</span>
<span class="note">normal card</span>
</div>


  <div class="vcard">
<div class="vcard" id="thisOne">
    <span class="fn">John Doe</span>
<span class="fn">John Doe</span>
    <span class="note">normal card</span>
<span class="note">card with an ID</span>
  </div>
</div>


  <div class="vcard" id="thisOne">
<div class="vcard ">
 
<span class=" fn">John Doe2</span>
    <span class="fn">John Doe</span>
<span class="note">tabs in class fields</span>
    <span class="note">card with an ID</span>
</div>
  </div>
 
  <div class="vcard ">
    <span class=" fn">John Doe2</span>
    <span class="note">tabs in class fields</span>
 
  </div>


== External Tests ==
== External Tests ==


DanConnolly is working on [http://dev.w3.org/cvsweb/2001/palmagent/hcardTest.html hcardTest.html]; [http://dev.w3.org/cvsweb/~checkout~/2001/palmagent/hcardTest.html?rev=HEAD&content-type=text/html;%20charset=iso-8859-1 the current version] is always available. (I dunno why cvsweb uses the ordinary looing URL for the changelog rather than the current version.)
DanConnolly is working on [http://dev.w3.org/cvsweb/2001/palmagent/hcardTest.html hcardTest.html]; [http://dev.w3.org/cvsweb/~checkout~/2001/palmagent/hcardTest.html?rev=HEAD&content-type=text/html;%20charset=iso-8859-1 the current version] is always available. (I dunno why cvsweb uses the ordinary looing URL for the changelog rather than the current version.)

Revision as of 23:05, 22 July 2005

hCard Tests

This page is for documenting hCard tests / test cases, both directly, and by reference.

Test Cases

simple hCard

  • code
<span class="vcard"><span class="fn n">Tantek Çelik</span></span>
  • inline

Tantek Çelik

a few more

John Doe normal card

John Doe card with an ID

John Doe2 tabs in class fields

External Tests

DanConnolly is working on hcardTest.html; the current version is always available. (I dunno why cvsweb uses the ordinary looing URL for the changelog rather than the current version.)