[html5] r7898 - [e] (0) Improve grammar. Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=2 [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jun 4 13:48:49 PDT 2013


Author: ianh
Date: 2013-06-04 13:48:47 -0700 (Tue, 04 Jun 2013)
New Revision: 7898

Modified:
   complete.html
   index
   source
Log:
[e] (0) Improve grammar.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21728
Affected topics: DOM APIs, Microdata

Modified: complete.html
===================================================================
--- complete.html	2013-06-04 20:41:02 UTC (rev 7897)
+++ complete.html	2013-06-04 20:48:47 UTC (rev 7898)
@@ -54332,10 +54332,12 @@
    <li><p>If <var title="">start</var> is greater than <var title="">end</var>, then throw an
    <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
 
-   <li><p>If either <var title="">start</var> or <var title="">end</var> are greater than the length
-   of the value of the text field, then set them to the length of the value of the text
-   field.</li>
+   <li><p>If <var title="">start</var> is greater than the length of the value of the text field,
+   then set it to the length of the value of the text field.</li>
 
+   <li><p>If <var title="">end</var> is greater than the length of the value of the text field,
+   then set it to the length of the value of the text field.</li>
+
    <li><p>Let <var title="">selection start</var> be the current value of the <code title=dom-textarea/input-selectionStart><a href=#dom-textarea/input-selectionstart>selectionStart</a></code> attribute.</li>
 
    <li><p>Let <var title="">selection end</var> be the current value of the <code title=dom-textarea/input-selectionEnd><a href=#dom-textarea/input-selectionend>selectionEnd</a></code> attribute.</li>
@@ -62580,7 +62582,7 @@
   run the following algorithm to <dfn id=extracting-a-vcard title="extracting a vCard">extract any vCard data represented
   by those nodes</dfn> (only the first vCard is returned):</p>
 
-  <ol><li><p>If none of the nodes in <var title="">nodes</var> are <a href=#concept-item title=concept-item>items</a> with the <a href=#item-types title="item
+  <ol><!--CLEANUP--><li><p>If none of the nodes in <var title="">nodes</var> are <a href=#concept-item title=concept-item>items</a> with the <a href=#item-types title="item
    types">item type</a> <code title=md-vcard><a href=#md-vcard>http://microformats.org/profile/hcard</a></code>, then
    there is no vCard. Abort the algorithm, returning nothing.</li>
 
@@ -62877,7 +62879,7 @@
 
     </ol></li>
 
-   <li><p>If either of <var title="">sex</var> or <var title="">gender-identity</var> have a value that is not the empty
+   <li><p>If either <var title="">sex</var> or <var title="">gender-identity</var> has a value that is not the empty
    string, <a href=#add-a-vcard-line>add a vCard line</a> with the type "<code title="">GENDER</code>" and the value consisting of the
    concatenation of <var title="">sex</var>, a U+003B SEMICOLON
    character (;), and <var title="">gender-identity</var> to <var title="">output</var>.</li>

Modified: index
===================================================================
--- index	2013-06-04 20:41:02 UTC (rev 7897)
+++ index	2013-06-04 20:48:47 UTC (rev 7898)
@@ -54332,10 +54332,12 @@
    <li><p>If <var title="">start</var> is greater than <var title="">end</var>, then throw an
    <code><a href=#indexsizeerror>IndexSizeError</a></code> exception and abort these steps.</li>
 
-   <li><p>If either <var title="">start</var> or <var title="">end</var> are greater than the length
-   of the value of the text field, then set them to the length of the value of the text
-   field.</li>
+   <li><p>If <var title="">start</var> is greater than the length of the value of the text field,
+   then set it to the length of the value of the text field.</li>
 
+   <li><p>If <var title="">end</var> is greater than the length of the value of the text field,
+   then set it to the length of the value of the text field.</li>
+
    <li><p>Let <var title="">selection start</var> be the current value of the <code title=dom-textarea/input-selectionStart><a href=#dom-textarea/input-selectionstart>selectionStart</a></code> attribute.</li>
 
    <li><p>Let <var title="">selection end</var> be the current value of the <code title=dom-textarea/input-selectionEnd><a href=#dom-textarea/input-selectionend>selectionEnd</a></code> attribute.</li>
@@ -62580,7 +62582,7 @@
   run the following algorithm to <dfn id=extracting-a-vcard title="extracting a vCard">extract any vCard data represented
   by those nodes</dfn> (only the first vCard is returned):</p>
 
-  <ol><li><p>If none of the nodes in <var title="">nodes</var> are <a href=#concept-item title=concept-item>items</a> with the <a href=#item-types title="item
+  <ol><!--CLEANUP--><li><p>If none of the nodes in <var title="">nodes</var> are <a href=#concept-item title=concept-item>items</a> with the <a href=#item-types title="item
    types">item type</a> <code title=md-vcard><a href=#md-vcard>http://microformats.org/profile/hcard</a></code>, then
    there is no vCard. Abort the algorithm, returning nothing.</li>
 
@@ -62877,7 +62879,7 @@
 
     </ol></li>
 
-   <li><p>If either of <var title="">sex</var> or <var title="">gender-identity</var> have a value that is not the empty
+   <li><p>If either <var title="">sex</var> or <var title="">gender-identity</var> has a value that is not the empty
    string, <a href=#add-a-vcard-line>add a vCard line</a> with the type "<code title="">GENDER</code>" and the value consisting of the
    concatenation of <var title="">sex</var>, a U+003B SEMICOLON
    character (;), and <var title="">gender-identity</var> to <var title="">output</var>.</li>

Modified: source
===================================================================
--- source	2013-06-04 20:41:02 UTC (rev 7897)
+++ source	2013-06-04 20:48:47 UTC (rev 7898)
@@ -59930,10 +59930,12 @@
    <li><p>If <var title="">start</var> is greater than <var title="">end</var>, then throw an
    <code>IndexSizeError</code> exception and abort these steps.</p></li>
 
-   <li><p>If either <var title="">start</var> or <var title="">end</var> are greater than the length
-   of the value of the text field, then set them to the length of the value of the text
-   field.</p></li>
+   <li><p>If <var title="">start</var> is greater than the length of the value of the text field,
+   then set it to the length of the value of the text field.</p></li>
 
+   <li><p>If <var title="">end</var> is greater than the length of the value of the text field,
+   then set it to the length of the value of the text field.</p></li>
+
    <li><p>Let <var title="">selection start</var> be the current value of the <code
    title="dom-textarea/input-selectionStart">selectionStart</code> attribute.</p></li>
 
@@ -69527,6 +69529,7 @@
   by those nodes</dfn> (only the first vCard is returned):</p>
 
   <ol>
+<!--CLEANUP-->
 
    <li><p>If none of the nodes in <var title="">nodes</var> are <span
    title="concept-item">items</span> with the <span title="item
@@ -69959,8 +69962,8 @@
 
    </li>
 
-   <li><p>If either of <var title="">sex</var> or <var
-   title="">gender-identity</var> have a value that is not the empty
+   <li><p>If either <var title="">sex</var> or <var
+   title="">gender-identity</var> has a value that is not the empty
    string, <span>add a vCard line</span> with the type "<code
    title="">GENDER</code>" and the value consisting of the
    concatenation of <var title="">sex</var>, a U+003B SEMICOLON




More information about the Commit-Watchers mailing list