reorganizes spec cases and fixes a couple few

This commit is contained in:
Jessica Lynn Suttles 2013-02-11 17:17:31 -08:00
parent 67465879fa
commit 72ce8e3cd6
158 changed files with 46 additions and 42 deletions

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<p class="h-card">Frances Berriman</p>

View file

@ -0,0 +1,10 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"name": ["Frances Berriman"]
}
}]
}

View file

@ -0,0 +1,3 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<a class="h-card" href="http://benward.me/">Ben Ward</a>

View file

@ -0,0 +1,11 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"name": ["Ben Ward"],
"url": ["http://benward.me/"]
}
}]
}

View file

@ -0,0 +1,4 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<a class="h-card" href="http://rohit.khare.org/">
<img alt="Rohit Khare" src="https://twimg0-a.akamaihd.net/profile_images/53307499/180px-Rohit-sq.jpg"></a>

View file

@ -0,0 +1,12 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"name": ["Rohit Khare"],
"photo": ["https://twimg0-a.akamaihd.net/profile_images/53307499/180px-Rohit-sq.jpg"],
"url": ["http://rohit.khare.org/"]
}
}]
}

View file

@ -0,0 +1,11 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<div class="h-card">
<img class="u-photo" alt="photo of Mitchell" src="http://blog.mozilla.org/press/files/2012/04/mitchell-baker.jpg"><p>
<a class="p-name u-url" href="http://blog.lizardwrangler.com/">Mitchell Baker</a>
(<a class="u-url" href="https://twitter.com/MitchellBaker">@MitchellBaker</a>)
<span class="p-org">Mozilla Foundation</span>
</p>
<p class="p-note">Mitchell is responsible for setting the direction and scope of the Mozilla Foundation and its activities.</p>
<p><span class="p-category">Strategy</span> and <span class="p-category">Leadership</span></p>
</div>

View file

@ -0,0 +1,15 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"photo": ["http://blog.mozilla.org/press/files/2012/04/mitchell-baker.jpg"],
"url": ["http://blog.lizardwrangler.com/", "https://twitter.com/MitchellBaker"],
"name": ["Mitchell Baker"],
"org": ["Mozilla Foundation"],
"note": ["Mitchell is responsible for setting the direction and scope of the Mozilla Foundation and its activities."],
"category": ["Strategy", "Leadership"]
}
}]
}

View file

@ -0,0 +1,6 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<div class="h-card">
<a class="p-name u-url" href="http://blog.lizardwrangler.com/">Mitchell Baker</a>
(<a class="p-org h-card" href="http://mozilla.org/">Mozilla Foundation</a>)
</div>

View file

@ -0,0 +1,26 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"url": ["http://blog.lizardwrangler.com/"],
"name": ["Mitchell Baker"],
"org": [{
"value": "Mozilla Foundation",
"type": ["h-card"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
}]
}
},{
"type": ["h-card"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
}]
}

View file

@ -0,0 +1,6 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<div class="h-card">
<a class="p-name u-url" href="http://blog.lizardwrangler.com/">Mitchell Baker</a>
(<a class="p-org h-card h-org" href="http://mozilla.org/">Mozilla Foundation</a>)
</div>

View file

@ -0,0 +1,30 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"name": ["Mitchell Baker"],
"url": ["http://blog.lizardwrangler.com/"],
"org": [{
"value": "Mozilla Foundation",
"type": ["h-card", "h-org"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
}]
}
},{
"type": ["h-card"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
},{
"type": ["h-org"],
"properties": {
"name": ["Mozilla Foundation"]
}
}]
}

View file

@ -0,0 +1,6 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<div class="h-card">
<a class="p-name u-url" href="http://blog.lizardwrangler.com/">Mitchell Baker</a>
(<a class="h-org h-card" href="http://mozilla.org/">Mozilla Foundation</a>)
</div>

View file

@ -0,0 +1,29 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"name": ["Mitchell Baker"],
"url": ["http://blog.lizardwrangler.com/"]
},
"children": [{
"type": ["h-card", "h-org"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
}]
},{
"type": ["h-card"],
"properties": {
"name": ["Mozilla Foundation"],
"url": ["http://mozilla.org/"]
}
},{
"type": ["h-org"],
"properties": {
"name": ["Mozilla Foundation"]
}
}]
}

View file

@ -0,0 +1,16 @@
<!-- http://microformat2-node.jit.su/h-card.html -->
<div class="h-card">
<!-- innerText and value pattern -->
<span class="p-name">
<span class="p-given-name value">John</span>
<abbr class="p-additional-name" title="Peter">P</abbr>
<span class="p-family-name value ">Doe</span>
</span>
<data class="p-honorific-suffix" value="MSc"></data><!-- theses should return no value --><br class="p-honorific-suffix">BSc
<hr class="p-honorific-suffix">BA
<!-- image and area tags -->
<img class="p-honorific-suffix" src="images/logo.gif" alt="PHD"><img src="images/logo.gif" alt="company logos" usemap="#logomap"><map name="logomap"><area class="p-org" shape="rect" coords="0,0,82,126" href="madgex.htm" alt="Madgex">
<area class="p-org" shape="circle" coords="90,58,3" href="mozilla.htm" alt="Mozilla"></map>
</div>

View file

@ -0,0 +1,15 @@
// http://microformat2-node.jit.su/h-card.html
{
"items": [{
"type": ["h-card"],
"properties": {
"name": ["John Doe"],
"given-name": ["John"],
"additional-name": ["Peter"],
"family-name": ["Doe"],
"honorific-suffix": ["MSc","PHD"],
"org": ["Madgex", "Mozilla"]
}
}]
}