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("xyz") Should take the value from the abbr title attribute

History:

Some rights reserved