Skip to content

Commit

Permalink
[e] (0) more consistently refer to the context element as such
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1339 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 4, 2008
1 parent c9d1652 commit 16bfd94
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 26 deletions.
29 changes: 16 additions & 13 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -3982,10 +3982,11 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
<p>Invoke the <a href="#html-fragment0">HTML fragment parsing
algorithm</a>, with the element whose <code title=dom-innerHTML-HTML><a
href="#innerhtml0">innerHTML</a></code> attribute is being set as the
<var title="">context</var> and the string being assigned into the <code
title=dom-innerHTML-HTML><a href="#innerhtml0">innerHTML</a></code>
attribute as the <var title="">input</var>. Let <var title="">new
children</var> be the result of this algorithm.</p>
<var title="">context</var> element, and the string being assigned into
the <code title=dom-innerHTML-HTML><a
href="#innerhtml0">innerHTML</a></code> attribute as the <var
title="">input</var>. Let <var title="">new children</var> be the result
of this algorithm.</p>

<li>
<p>Remove the children of the element whose <code
Expand Down Expand Up @@ -21340,7 +21341,7 @@ notes on what would need to be defined for dashed lines:
content model of a <code><a href="#noscript">noscript</a></code> element
is text, except that invoking the <span>HTML fragment parsing algorithm
with the <code><a href="#noscript">noscript</a></code> element as the <var
title="">context</var> and the text contents as the <var
title="">context</var> element and the text contents as the <var
title="">input</var> must result in a list of nodes that consists only of
<code><a href="#link">link</a></code>, <code><a
href="#style">style</a></code>, and <code><a href="#meta0">meta</a></code>
Expand Down Expand Up @@ -44286,9 +44287,10 @@ http://lxr.mozilla.org/seamonkey/search?string=nested

<p>The following steps form the <dfn id=html-fragment0>HTML fragment
parsing algorithm</dfn>. The algorithm takes as input a DOM
<code>Element</code>, referred to as <var title="">context</var>, which
gives the context for the parser, as well as <var title="">input</var>, a
string to parse, and returns a list of zero or more nodes.
<code>Element</code>, referred to as the <var title="">context</var>
element, which gives the context for the parser, as well as <var
title="">input</var>, a string to parse, and returns a list of zero or
more nodes.

<p class=note>Parts marked <dfn id=fragment>fragment case</dfn> in
algorithms in the parser section are parts that only occur if the parser
Expand Down Expand Up @@ -44363,14 +44365,15 @@ http://lxr.mozilla.org/seamonkey/search?string=nested
the parser's insertion mode appropriately</a>.</p>

<p class=note>The parser will reference the <var title="">context</var>
node as part of that algorithm.</p>
element as part of that algorithm.</p>

<li>
<p>Set the parser's <a href="#form-element"><code>form</code> element
pointer</a> to the nearest node to the <var title="">context</var> that
is a <code>form</code> element (going straight up the ancestor chain,
and including the element itself, if it is a <code>form</code> element),
or, if there is no such <code>form</code> element, to null.</p>
pointer</a> to the nearest node to the <var title="">context</var>
element that is a <code>form</code> element (going straight up the
ancestor chain, and including the element itself, if it is a
<code>form</code> element), or, if there is no such <code>form</code>
element, to null.</p>

<li>
<p>Place into the <a href="#input0">input stream</a> for the <a
Expand Down
27 changes: 14 additions & 13 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -2398,10 +2398,11 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
<p>Invoke the <span>HTML fragment parsing algorithm</span>, with
the element whose <code
title="dom-innerHTML-HTML">innerHTML</code> attribute is being set
as the <var title="">context</var> and the string being assigned
into the <code title="dom-innerHTML-HTML">innerHTML</code>
attribute as the <var title="">input</var>. Let <var title="">new
children</var> be the result of this algorithm.</p>
as the <var title="">context</var> element, and the string being
assigned into the <code
title="dom-innerHTML-HTML">innerHTML</code> attribute as the <var
title="">input</var>. Let <var title="">new children</var> be the
result of this algorithm.</p>

</li>

Expand Down Expand Up @@ -19081,7 +19082,7 @@ notes on what would need to be defined for dashed lines:
then the content model of a <code>noscript</code> element is text,
except that invoking the <span>HTML fragment parsing
algorithm</code> with the <code>noscript</code> element as the <var
title="">context</var> and the text contents as the <var
title="">context</var> element and the text contents as the <var
title="">input</var> must result in a list of nodes that consists
only of <code>link</code>, <code>style</code>, and <code>meta</code>
elements.</p>
Expand Down Expand Up @@ -41590,8 +41591,8 @@ http://lxr.mozilla.org/seamonkey/search?string=nested

<p>The following steps form the <dfn>HTML fragment parsing
algorithm</dfn>. The algorithm takes as input a DOM
<code>Element</code>, referred to as <var title="">context</var>,
which gives the context for the parser, as well as <var
<code>Element</code>, referred to as the <var title="">context</var>
element, which gives the context for the parser, as well as <var
title="">input</var>, a string to parse, and returns a list of zero
or more nodes.</p>

Expand Down Expand Up @@ -41690,18 +41691,18 @@ http://lxr.mozilla.org/seamonkey/search?string=nested
parser's insertion mode appropriately</span>.</p>

<p class="note">The parser will reference the <var
title="">context</var> node as part of that algorithm.</p>
title="">context</var> element as part of that algorithm.</p>

</li>

<li>

<p>Set the parser's <span><code>form</code> element pointer</span>
to the nearest node to the <var title="">context</var> that is a
<code>form</code> element (going straight up the ancestor chain,
and including the element itself, if it is a <code>form</code>
element), or, if there is no such <code>form</code> element, to
null.</p>
to the nearest node to the <var title="">context</var> element
that is a <code>form</code> element (going straight up the
ancestor chain, and including the element itself, if it is a
<code>form</code> element), or, if there is no such
<code>form</code> element, to null.</p>

</li>

Expand Down

0 comments on commit 16bfd94

Please sign in to comment.