Skip to content

Commit

Permalink
[e] (0) Fix some grammar errors errors. (bug 6769)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3159 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 1, 2009
1 parent ca5cadc commit bf4135a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions index
Expand Up @@ -6525,22 +6525,22 @@ interface <dfn id=htmloptionscollection-0>HTMLOptionsCollection</dfn> {
steps.</li>

<li><p>If <var title="">element</var> is an ancestor of the
<code><a href=#the-select-element>select</a></code> element element on which the
<code><a href=#the-select-element>select</a></code> element on which the
<code><a href=#htmloptionscollection-0>HTMLOptionsCollection</a></code> is rooted, then throw a
<code><a href=#hierarchy_request_err>HIERARCHY_REQUEST_ERR</a></code> exception.</li>

<li><p>If <var title="">before</var> is an element, but that
element isn't a descendant of the <code><a href=#the-select-element>select</a></code> element
element on which the <code><a href=#htmloptionscollection-0>HTMLOptionsCollection</a></code> is rooted,
then throw a <code><a href=#not_found_err>NOT_FOUND_ERR</a></code> exception.</li>
element isn't a descendant of the <code><a href=#the-select-element>select</a></code> element on
which the <code><a href=#htmloptionscollection-0>HTMLOptionsCollection</a></code> is rooted, then throw
a <code><a href=#not_found_err>NOT_FOUND_ERR</a></code> exception.</li>

<li><p>If <var title="">element</var> and <var title="">before</var> are the same element, then return and abort
these steps.</li>

<li><p>If <var title="">before</var> is a node, then let <var title="">reference</var> be that node. Otherwise, if <var title="">before</var> is an integer, and there is a <var title="">before</var>th node in the collection, let <var title="">reference</var> be that node. Otherwise, let <var title="">reference</var> be null.</li>

<li><p>If <var title="">reference</var> is not null, let <var title="">parent</var> be the parent node of <var title="">reference</var>. Otherwise, let <var title="">parent</var>
be the <code><a href=#the-select-element>select</a></code> element element on which the
be the <code><a href=#the-select-element>select</a></code> element on which the
<code><a href=#htmloptionscollection-0>HTMLOptionsCollection</a></code> is rooted.</li>

<li><p>Act as if the DOM Core <code title=dom-insertBefore>insertBefore()</code> method was invoked
Expand Down
10 changes: 5 additions & 5 deletions source
Expand Up @@ -6478,14 +6478,14 @@ interface <dfn>HTMLOptionsCollection</dfn> {
steps.</li>

<li><p>If <var title="">element</var> is an ancestor of the
<code>select</code> element element on which the
<code>select</code> element on which the
<code>HTMLOptionsCollection</code> is rooted, then throw a
<code>HIERARCHY_REQUEST_ERR</code> exception.</li>

<li><p>If <var title="">before</var> is an element, but that
element isn't a descendant of the <code>select</code> element
element on which the <code>HTMLOptionsCollection</code> is rooted,
then throw a <code>NOT_FOUND_ERR</code> exception.</p></li>
element isn't a descendant of the <code>select</code> element on
which the <code>HTMLOptionsCollection</code> is rooted, then throw
a <code>NOT_FOUND_ERR</code> exception.</p></li>

<li><p>If <var title="">element</var> and <var
title="">before</var> are the same element, then return and abort
Expand All @@ -6501,7 +6501,7 @@ interface <dfn>HTMLOptionsCollection</dfn> {
<li><p>If <var title="">reference</var> is not null, let <var
title="">parent</var> be the parent node of <var
title="">reference</var>. Otherwise, let <var title="">parent</var>
be the <code>select</code> element element on which the
be the <code>select</code> element on which the
<code>HTMLOptionsCollection</code> is rooted.</p></li>

<li><p>Act as if the DOM Core <code
Expand Down

0 comments on commit bf4135a

Please sign in to comment.