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

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