Microformats test suite

hCard 5 - multiple values in class attribute test

This page test that parsers can find a class name where a author has used multiple values in the class attributes. The IsEqualToISODate method normalisation and compares dates.

From: hCard test suite 1.0

Author: Glenn Jones

Tests:

Test Result Comment
vcard[0].n.given-name[0] IsEqualTo("John") Should find given-name value even if class attribute has multiple values
vcard[0].category[1].tag IsEqualTo("development") Should find category value even if class and rel attribute have multiple values
vcard[0].rev IsEqualToISODate("2008-01-01T13:45:00") Should find rev value even if class attribute has multiple values

History:

John Doe

Tags: design, and web

Last updated: January 1st, 2008 - 13:45

Some rights reserved