Microformats test suite

hCard 12 - abbr (abbreviation) element test

This page was design to comprehensively test the use of the abbreviation element.

From: hCard test suite 1.0

Author: Glenn Jones

Tests:

Test Result Comment
vcard[0].fn IsEqualTo("John Doe") Should take the value from the abbr title attribute
vcard[0].n.honorific-prefix[0] IsEqualTo("Mister") Should take the value from the abbr title attribute
vcard[0].n.given-name[0] IsEqualTo("Jonathan") Should take the value from the abbr title attribute
vcard[0].n.additional-name[0] IsEqualTo("John") Should take the value from the abbr title attribute
vcard[0].nickname IsEqualTo("JJ") Should take the value from the abbr title attribute
vcard[0].adr[0].street-address[0] IsEqualTo("123 Fake Street") Should take the value from the abbr title attribute
vcard[0].adr[0].type[0] IsEqualToCaseInsensitive("WORK") Should take the value from the abbr title attribute
vcard[0].tel[0].value IsEqualToPhoneNumber("4155551234") Should take the value from the abbr title attribute

History:

foo Mr. John J Doe M.D jj April 4, 2006 B. 1234 Ste. 100 123 Fake St. San Fran CA 12345 USA workplace 1234 workplace Pacific Time Northern California pres. and cat wrangler foo bar this is not a note alpha pub

Some rights reserved