[html5] r3106 - [t] (0) Fix some algorithms aronud 'about'.

whatwg at whatwg.org whatwg at whatwg.org
Fri May 15 19:18:00 PDT 2009


Author: ianh
Date: 2009-05-15 19:18:00 -0700 (Fri, 15 May 2009)
New Revision: 3106

Modified:
   index
   source
Log:
[t] (0) Fix some algorithms aronud 'about'.

Modified: index
===================================================================
--- index	2009-05-16 02:02:46 UTC (rev 3105)
+++ index	2009-05-16 02:18:00 UTC (rev 3106)
@@ -44095,9 +44095,11 @@
   steps:</p>
 
   <ol><li><p>If of the elements whose <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding item</a> is
-   <var title="">item</var>, exactly one has a <a href=#property-names title="property
-   names">property name</a> equal to the string "<code title="">about</code>", and that element is a <a href=#url-property-elements title="URL
-   property elements">URL property element</a>, let <var title="">subject</var> be the <a href=#concept-property-value title=concept-property-value>value</a> of that
+   <var title="">item</var>, there are any with a <a href=#property-names title="property names">property name</a> equal to the string
+   "<code title=md-about><a href=#md-about>about</a></code>", and the first such element
+   is a <a href=#url-property-elements title="URL property elements">URL property
+   element</a>, and its <a href=#concept-property-value title=concept-property-value>value</a> is not an <a href=#concept-item title=concept-item>item</a>, let <var title="">subject</var>
+   be the <a href=#concept-property-value title=concept-property-value>value</a> of that
    property. Otherwise, let <var title="">subject</var> be a new blank
    node.</li>
 
@@ -44148,7 +44150,7 @@
       following substeps:</p>
 
       <ol><li><p>If <var title="">name</var> is equal to the string
-       "<code title="">about</code>", skip this name.</li>
+       "<code title=md-about><a href=#md-about>about</a></code>", skip this name.</li>
 
        <li><p>Otherwise, if <var title="">name</var> is not an
        <a href=#absolute-url>absolute URL</a>, then let <var title="">name</var> be
@@ -44200,13 +44202,24 @@
    <li><p><a href=#add-a-vcard-line>Add a vCard line</a> with the type "<code title="">VERSION</code>" and the value "<code title="">3.0</code>"
    to <var title="">output</var>.</li>
 
-   <li><p><a href=#add-a-vcard-line>Add a vCard line</a> with the type "<code title="">SOURCE</code>" and <a href="#the-document's-current-address">the document's current
+   <li><p><a href=#add-a-vcard-line>Add a vCard line</a> with the type "<code title="">SOURCE</code>" and the result of <a href=#escaping-the-vcard-text-string>escaping the vCard
+   text string</a> that is the <a href="#the-document's-current-address">the document's current
    address</a> as the value to <var title="">output</var>.</li>
 
    <li><p>If <a href=#the-title-element-0>the <code>title</code> element</a> is not null,
-   <a href=#add-a-vcard-line>add a vCard line</a> with the type "<code title="">NAME</code>" and the <code><a href=#textcontent>textContent</a></code> of <a href=#the-title-element-0>the
-   <code>title</code> element</a> as the value to <var title="">output</var>.</li>
+   <a href=#add-a-vcard-line>add a vCard line</a> with the type "<code title="">NAME</code>" and with the result of <a href=#escaping-the-vcard-text-string>escaping the
+   vCard text string</a> obtained from the <code><a href=#textcontent>textContent</a></code>
+   of <a href=#the-title-element-0>the <code>title</code> element</a> as the value to <var title="">output</var>.</li>
 
+   <li><p>If there is a property named <code title=md-about><a href=#md-about>about</a></code> whose <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding item</a> is
+   <var title="">node</var> and the element of the first such property
+   is a <a href=#url-property-elements title="URL property elements">URL property
+   element</a> and has a <a href=#concept-property-value title=concept-property-value>value</a> that is not an <a href=#concept-item title=concept-item>item</a>, <a href=#add-a-vcard-line>add a vCard line</a>
+   with the type "<code title="">UID</code>" and with the result of
+   <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> that is that property's
+   <a href=#concept-property-value title=concept-property-value>value</a> as the value to
+   <var title="">output</var>.</li>
+
    <li>
 
     <p>For each element <var title="">element</var> that has one or
@@ -44215,8 +44228,7 @@
     in <var title="">element</var>'s <a href=#property-names>property names</a>, run
     the following substeps:</p>
 
-    <ol><li><p>If <var title="">name</var> is equal to the string
-     "<code title="">about</code>", skip this name.</li>
+    <ol><li><p>If <var title="">name</var> is equal to the string "<code title=md-about><a href=#md-about>about</a></code>", skip this name.</li>
 
      <li><p>Let <var title="">parameters</var> be an empty set of
      name-value pairs.</li>

Modified: source
===================================================================
--- source	2009-05-16 02:02:46 UTC (rev 3105)
+++ source	2009-05-16 02:18:00 UTC (rev 3106)
@@ -49945,12 +49945,14 @@
 
    <li><p>If of the elements whose <span
    title="concept-item-corresponding">corresponding item</span> is
-   <var title="">item</var>, exactly one has a <span title="property
-   names">property name</span> equal to the string "<code
-   title="">about</code>", and that element is a <span title="URL
-   property elements">URL property element</span>, let <var
-   title="">subject</var> be the <span
-   title="concept-property-value">value</span> of that
+   <var title="">item</var>, there are any with a <span
+   title="property names">property name</span> equal to the string
+   "<code title="md-about">about</code>", and the first such element
+   is a <span title="URL property elements">URL property
+   element</span>, and its <span
+   title="concept-property-value">value</span> is not an <span
+   title="concept-item">item</span>, let <var title="">subject</var>
+   be the <span title="concept-property-value">value</span> of that
    property. Otherwise, let <var title="">subject</var> be a new blank
    node.</p></li>
 
@@ -50022,7 +50024,7 @@
       <ol>
 
        <li><p>If <var title="">name</var> is equal to the string
-       "<code title="">about</code>", skip this name.</p></li>
+       "<code title="md-about">about</code>", skip this name.</p></li>
 
        <li><p>Otherwise, if <var title="">name</var> is not an
        <span>absolute URL</span>, then let <var title="">name</var> be
@@ -50101,15 +50103,30 @@
    to <var title="">output</var>.</p></li>
 
    <li><p><span>Add a vCard line</span> with the type "<code
-   title="">SOURCE</code>" and <span>the document's current
+   title="">SOURCE</code>" and the result of <span>escaping the vCard
+   text string</span> that is the <span>the document's current
    address</span> as the value to <var title="">output</var>.</p></li>
 
    <li><p>If <span>the <code>title</code> element</span> is not null,
    <span>add a vCard line</span> with the type "<code
-   title="">NAME</code>" and the <code>textContent</code> of <span>the
-   <code>title</code> element</span> as the value to <var
+   title="">NAME</code>" and with the result of <span>escaping the
+   vCard text string</span> obtained from the <code>textContent</code>
+   of <span>the <code>title</code> element</span> as the value to <var
    title="">output</var>.</p></li>
 
+   <li><p>If there is a property named <code
+   title="md-about">about</code> whose <span
+   title="concept-item-corresponding">corresponding item</span> is
+   <var title="">node</var> and the element of the first such property
+   is a <span title="URL property elements">URL property
+   element</span> and has a <span
+   title="concept-property-value">value</span> that is not an <span
+   title="concept-item">item</span>, <span>add a vCard line</span>
+   with the type "<code title="">UID</code>" and with the result of
+   <span>escaping the vCard text string</span> that is that property's
+   <span title="concept-property-value">value</span> as the value to
+   <var title="">output</var>.</p></li>
+
    <li>
 
     <p>For each element <var title="">element</var> that has one or
@@ -50121,8 +50138,8 @@
 
     <ol>
 
-     <li><p>If <var title="">name</var> is equal to the string
-     "<code title="">about</code>", skip this name.</p></li>
+     <li><p>If <var title="">name</var> is equal to the string "<code
+     title="md-about">about</code>", skip this name.</p></li>
 
      <li><p>Let <var title="">parameters</var> be an empty set of
      name-value pairs.</p></li>




More information about the Commit-Watchers mailing list