This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10199 - Some vcard examples lack itemscope on itemprop="n" elements
Summary: Some vcard examples lack itemscope on itemprop="n" elements
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML Microdata (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-19 03:47 UTC by contributor
Modified: 2010-10-05 13:03 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2010-07-19 03:47:02 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#examples-1

Comment:
Some vcard examples lack itemscope on itemprop="n" elements

Posted from: 221.113.122.222 by w3.org@boblet.net
Comment 1 Oli Studholme 2010-07-19 03:54:00 UTC
As the “n” property is a nested item it should be specified with itemscope:

<span
 itemprop="agent" itemscope itemtype="http://microformats.org/profile/hcard"><a
 itemprop="email" href="mailto:c.obrian@la.ctu.gov.invalid"><span
 itemprop="fn"><span itemprop="n" itemscope><span
 itemprop="given-name">Chloe</span> <span
 itemprop="family-name">O'Brian</span></span></span></a></span>
(note this also had a spurious extra itemscope on itemprop="n", and the typo
itemprop="family=name")

<address itemscope itemtype="http://microformats.org/profile/hcard">
 <strong itemprop="fn"><span itemprop="n" itemscope><span itemprop="given-name">Alfred</span>
 <span itemprop="family-name">Person</span></span></strong> <br>
 <span itemprop="adr" itemscope>
  <span itemprop="street-address">1600 Amphitheatre Parkway</span> <br>
  <span itemprop="street-address">Building 43, Second Floor</span> <br>
  <span itemprop="locality">Mountain View</span>,
   <span itemprop="region">CA</span> <span itemprop="postal-code">94043</span>
 </span>
</address>

<span itemscope itemtype="http://microformats.org/profile/hcard">
<span itemprop="fn"><span itemprop="n" itemscope><span itemprop="given-name">George</span>
<span itemprop="family-name">Washington</span></span></span></span>

Initially filed as this bug (in which I didn’t realise that n was a nested item and/or didn’t understand nested items):
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10159
Comment 2 Ian 'Hixie' Hickson 2010-09-08 06:41:42 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments, I think. I wasn't 100% sure I understood the bug.
Comment 3 contributor 2010-09-08 06:42:35 UTC
Checked in as WHATWG revision r5445.
Check-in comment: typos
http://html5.org/tools/web-apps-tracker?from=5444&to=5445