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

Minor clarifications based on overnight comments on IRC. (whatwg r3076)

From: poot <cvsmail@w3.org>
Date: Mon, 18 May 2009 19:27:05 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090518102706.12AE12BCEC@toro.w3.mag.keio.ac.jp>
Minor clarifications based on overnight comments on IRC. (whatwg r3076)

Diffs for this change per section: 
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2234.html#selector-read-write
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2234.html#associating-names-with-items
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2234.html#concept-item-corresponding
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2234.html#microdata
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2234.html#generate-the-triples-for-an-item

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2233&r2=1.2234&f=h
http://html5.org/tools/web-apps-tracker?from=3075&to=3076

===================================================================
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 Monday, 18 May 2009 10:27:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:05 GMT