Microformats test suite

hCard 21 - opaque/embedded hCards

This page was design to test that embedded hCards are opaque to the parent hCard. This test was originally created by Toby Inkster.

From: hCard test suite 1.0

Author: Glenn Jones

Tests:

Test Result Comment
vcard[0].fn IsEqualTo("Queen Elizabeth II") The fomatted name of the contain hcard
vcard[0].agent[0].fn IsEqualTo("Michael Jeffery") The fomatted name of the agent
vcard[0].agent[0].agent[0].fn IsEqualTo("Malcolm Hazell") The fomatted name of the agents agent
vcard[0].agent[0].agent[0].role IsEqualTo("secretary") The role of the agents agent
vcard[0].agent[0].role IsEqualTo("representative in Australia") The role of the agent
vcard[0].role HasProperty(false) The hCard should have no role only the agents

History:

Queen Elizabeth II 's representative in Australia is Governor General Michael Jeffery. You can contact him through his secretary, Malcolm Hazell.

Some rights reserved