Skip to content

Commit

Permalink
[e] (0) avoid hiding metadata / DRY
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10160

git-svn-id: http://svn.whatwg.org/webapps@5447 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 8, 2010
1 parent b4f3b36 commit 353be36
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
11 changes: 6 additions & 5 deletions complete.html
Expand Up @@ -55910,11 +55910,12 @@ <h5 id=examples-1><span class=secno>5.4.1.2 </span>Examples</h5>
"Jack Bauer":</p>

<pre>&lt;section id="jack" itemscope itemtype="http://microformats.org/profile/hcard"&gt;
&lt;h1 itemprop="fn"&gt;Jack Bauer&lt;/h1&gt;
&lt;div itemprop="n" itemscope&gt;
&lt;meta itemprop="given-name" content="Jack"&gt;
&lt;meta itemprop="family-name" content="Bauer"&gt;
&lt;/div&gt;
&lt;h1 itemprop="fn"&gt;
&lt;span itemprop="n" itemscope&gt;
&lt;span itemprop="given-name"&gt;Jack&lt;/span&gt;
&lt;span itemprop="family-name"&gt;Bauer&lt;/span&gt;
&lt;/span&gt;
&lt;/h1&gt;
&lt;img itemprop="photo" alt="" src="jack-bauer.jpg"&gt;
&lt;p itemprop="org" itemscope&gt;
&lt;span itemprop="organization-name"&gt;Counter-Terrorist Unit&lt;/span&gt;
Expand Down
11 changes: 6 additions & 5 deletions index
Expand Up @@ -55890,11 +55890,12 @@ document.body.appendChild(outer);</pre>
"Jack Bauer":</p>

<pre>&lt;section id="jack" itemscope itemtype="http://microformats.org/profile/hcard"&gt;
&lt;h1 itemprop="fn"&gt;Jack Bauer&lt;/h1&gt;
&lt;div itemprop="n" itemscope&gt;
&lt;meta itemprop="given-name" content="Jack"&gt;
&lt;meta itemprop="family-name" content="Bauer"&gt;
&lt;/div&gt;
&lt;h1 itemprop="fn"&gt;
&lt;span itemprop="n" itemscope&gt;
&lt;span itemprop="given-name"&gt;Jack&lt;/span&gt;
&lt;span itemprop="family-name"&gt;Bauer&lt;/span&gt;
&lt;/span&gt;
&lt;/h1&gt;
&lt;img itemprop="photo" alt="" src="jack-bauer.jpg"&gt;
&lt;p itemprop="org" itemscope&gt;
&lt;span itemprop="organization-name"&gt;Counter-Terrorist Unit&lt;/span&gt;
Expand Down
11 changes: 6 additions & 5 deletions source
Expand Up @@ -62976,11 +62976,12 @@ document.body.appendChild(outer);</pre>
"Jack Bauer":</p>

<pre>&lt;section id="jack" itemscope itemtype="http://microformats.org/profile/hcard">
&lt;h1 itemprop="fn">Jack Bauer&lt;/h1>
&lt;div itemprop="n" itemscope>
&lt;meta itemprop="given-name" content="Jack">
&lt;meta itemprop="family-name" content="Bauer">
&lt;/div>
&lt;h1 itemprop="fn">
&lt;span itemprop="n" itemscope>
&lt;span itemprop="given-name">Jack&lt;/span>
&lt;span itemprop="family-name">Bauer&lt;/span>
&lt;/span>
&lt;/h1>
&lt;img itemprop="photo" alt="" src="jack-bauer.jpg">
&lt;p itemprop="org" itemscope>
&lt;span itemprop="organization-name">Counter-Terrorist Unit&lt;/span>
Expand Down

0 comments on commit 353be36

Please sign in to comment.