Skip to content

Instantly share code, notes, and snippets.

@danbri
Created June 8, 2011 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danbri/1014546 to your computer and use it in GitHub Desktop.
Save danbri/1014546 to your computer and use it in GitHub Desktop.
From http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#names:-the-itemprop-attribute
<div itemscope itemref="x">
<p itemprop="b">test</p>
<p itemprop="a">2</p>
</div>
<div id="x">
<p itemprop="a">1</p>
</div>
http://foolip.org/microdatajs/live/ gives
{
"items": [
{
"properties": {
"b": [
"test"
],
"a": [
"2",
"1"
]
}
}
]
}
but spec says "In the following example, the "a" property has the values "1" and "2", in that order,"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment