[html5] r1339 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue Mar 4 03:55:16 PST 2008


Author: ianh
Date: 2008-03-04 03:55:15 -0800 (Tue, 04 Mar 2008)
New Revision: 1339

Modified:
   index
   source
Log:
[e] (0) more consistently refer to the context element as such

Modified: index
===================================================================
--- index	2008-03-04 11:50:16 UTC (rev 1338)
+++ index	2008-03-04 11:55:15 UTC (rev 1339)
@@ -3982,10 +3982,11 @@
     <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
@@ -21340,7 +21341,7 @@
    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>
@@ -44286,9 +44287,10 @@
 
   <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
@@ -44363,14 +44365,15 @@
      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

Modified: source
===================================================================
--- source	2008-03-04 11:50:16 UTC (rev 1338)
+++ source	2008-03-04 11:55:15 UTC (rev 1339)
@@ -2398,10 +2398,11 @@
     <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>
 
@@ -19081,7 +19082,7 @@
   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>
@@ -41590,8 +41591,8 @@
 
   <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>
 
@@ -41690,18 +41691,18 @@
     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>
 




More information about the Commit-Watchers mailing list