- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 16 May 2009 02:18:07 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv8271
Modified Files:
Overview.html
Log Message:
Fix some algorithms aronud 'about'. (whatwg r3106)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2263
retrieving revision 1.2264
diff -u -d -r1.2263 -r1.2264
--- Overview.html 16 May 2009 02:02:52 -0000 1.2263
+++ Overview.html 16 May 2009 02:18:04 -0000 1.2264
@@ -39469,9 +39469,11 @@
</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 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>
@@ -39522,7 +39524,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
@@ -39570,12 +39572,23 @@
<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>
@@ -39585,8 +39598,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>
Received on Saturday, 16 May 2009 02:18:17 UTC