W3C home > Mailing lists > Public > public-html-commits@w3.org > May 2009

html5/spec Overview.html,1.2233,1.2234

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 10 May 2009 19:28:44 +0000
To: public-html-commits@w3.org
Message-Id: <E1M3EhY-0007tZ-Mb@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv30335

Modified Files:
	Overview.html 
Log Message:
Minor clarifications based on overnight comments on IRC. (whatwg r3076)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2233
retrieving revision 1.2234
diff -u -d -r1.2233 -r1.2234
--- Overview.html	10 May 2009 11:20:13 -0000	1.2233
+++ Overview.html	10 May 2009 19:28:41 -0000	1.2234
@@ -36220,7 +36220,7 @@
   those are all defined in sufficient detail in a language-agnostic
   fashion in the Selectors specification. <a href="#references">[SELECTORS]</a></p>
 
-  </div><h2 id="microdata"><span class="secno">5 </span><dfn>Microdata</dfn></h2><h3 id="introduction-2"><span class="secno">5.1 </span>Introduction</h3><h4 id="the-basic-syntax"><span class="secno">5.1.1 </span>The basic syntax</h4><p><em>This section is non-normative.</em><p>Sometimes, it is desireable to annotate content with specific
+  </div><h2 id="microdata"><span class="secno">5 </span><dfn>Microdata</dfn></h2><h3 id="introduction-2"><span class="secno">5.1 </span>Introduction</h3><h4 id="the-basic-syntax"><span class="secno">5.1.1 </span>The basic syntax</h4><p><em>This section is non-normative.</em><p>Sometimes, it is desirable to annotate content with specific
   machine-readable labels, e.g. to allow generic scripts to provide
   services that are customised to the page, or to enable content from
   a variety of cooperating authors to be processed by a single script
@@ -36251,7 +36251,9 @@
 &lt;/div&gt;</pre>
 
   </div><p>Properties can also have values that are URLs. This is achieved
-  using the <code title="">a</code> element and its <code title="attr-hyperlink-href"><a href="#attr-hyperlink-href">href</a></code> attribute.<div class="example">
+  using the <code title="">a</code> element and its <code title="attr-hyperlink-href"><a href="#attr-hyperlink-href">href</a></code> attribute, the
+  <code><a href="#the-img-element">img</a></code> element and its <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute, or other elements that
+  link to or embed external resources.<div class="example">
 
    <p>In this example, the item has one property, "image", whose value is a URL:</p>
 
@@ -36334,10 +36336,14 @@
   attribute's value must be the ID of an element with an <code title="attr-item"><a href="#items:-the-item-attribute">item</a></code> attribute, in the same
   <code>Document</code> as the element with the <code title="attr-subject"><a href="#attr-subject">subject</a></code> attribute.<p>An element's <dfn id="concept-item-corresponding" title="concept-item-corresponding">corresponding item</dfn> is
   determined by its position in the DOM and by any <code title="attr-subject"><a href="#attr-subject">subject</a></code> attributes on the element, and
-  is defined as follows:<dl><dt>If the element has neither <code title="attr-subject"><a href="#attr-subject">subject</a></code> attribute nor an ancestor with
-   an <code title="attr-item"><a href="#items:-the-item-attribute">item</a></code> attribute specified</dt>
+  is defined as follows:<dl><dt>If the element has a <code title="attr-subject"><a href="#attr-subject">subject</a></code>
+   attribute</dt>
 
-   <dd><p>The element has no <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding
+   <dd><p>If there is an element in the document with an ID equal to
+   the value of the <code title="attr-subject"><a href="#attr-subject">subject</a></code>
+   attribute, and if the first such element has an <code title="attr-item"><a href="#items:-the-item-attribute">item</a></code> attribute specified, then that
+   element is the <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding
+   item</a>. Otherwise, there is no <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding
    item</a>.</dd>
 
    <dt>If the element has no <code title="attr-subject"><a href="#attr-subject">subject</a></code>
@@ -36347,14 +36353,10 @@
    <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding
    item</a>.</dd>
 
-   <dt>If the element has a <code title="attr-subject"><a href="#attr-subject">subject</a></code>
-   attribute</dt>
+   <dt>If the element has neither <code title="attr-subject"><a href="#attr-subject">subject</a></code> attribute nor an ancestor with
+   an <code title="attr-item"><a href="#items:-the-item-attribute">item</a></code> attribute specified</dt>
 
-   <dd><p>If there is an element in the document with an ID equal to
-   the value of the <code title="attr-subject"><a href="#attr-subject">subject</a></code>
-   attribute, and if the first such element has an <code title="attr-item"><a href="#items:-the-item-attribute">item</a></code> attribute specified, then that
-   element is the <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding
-   item</a>. Otherwise, there is no <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding
+   <dd><p>The element has no <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding
    item</a>.</dd>
 
   </dl><p>The list of elements that create <a href="#concept-item" title="concept-item">items</a> but do not themselves have a <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding item</a> forms
@@ -36688,7 +36690,7 @@
   </ol><p>When the user agent is to <dfn id="generate-the-triples-for-an-item">generate the triples for an
   item</dfn> <var title="">item</var>, it must follow the following
   steps:<ol><li><p>If there is exactly one element whose <a href="#concept-item-corresponding" title="concept-item-corresponding">corresponding item</a> is
-   <var title="">item</var> and that has as one of its <a href="#property-names">property
+   <var title="">item</var>, that has as one of its <a href="#property-names">property
    names</a> the string "<code title="">about</code>", and the
    <a href="#concept-property-value" title="concept-property-value">property value</a> of that
    element is an <a href="#absolute-url">absolute URL</a>, let <var title="">subject</var> be that <a href="#absolute-url">absolute
Received on Sunday, 10 May 2009 19:28:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 10 May 2009 19:28:54 GMT