W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2010

[Bug 10159] For vCard, itemprop="fn" and itemprop="n" can be combined

From: <bugzilla@jessica.w3.org>
Date: Sun, 18 Jul 2010 20:05:45 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Oaa7N-0000Yq-O7@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10159


Toby Inkster <mail@tobyinkster.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mail@tobyinkster.co.uk




--- Comment #2 from Toby Inkster <mail@tobyinkster.co.uk>  2010-07-18 20:05:45 ---
itemprop="n" needs to be on an element with an itemscope attribute, as it's
something that has subproperties; itemprop="fn" needs to be on an element
without itemscope as it needs to be parsed as a string... so they can't be on
the same element.

HTML+RDFa 1.1 would in fact allow them on the same element:

  <div profile="http://example.com/vcard" typeof="vcard">
    <span rel="n" property="fn"><span property="given-name">Jack</span> <span
property="family-name">Bauer</span></span>
    <div rel="agent">
      <span rel="n" property="fn"><span property="given-name">Chloe</span>
<span property="family-name">O'Brian</span></span>
    </div>
  </div>

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 18 July 2010 20:05:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:52 UTC