html5/spec Overview.html,1.1221,1.1222

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv11497

Modified Files:
	Overview.html 
Log Message:
prettyifying the section regarding dynamic markup insertion (whatwg r2037)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1221
retrieving revision 1.1222
diff -u -d -r1.1221 -r1.1222
--- Overview.html	10 Aug 2008 22:38:04 -0000	1.1221
+++ Overview.html	10 Aug 2008 22:44:25 -0000	1.1222
@@ -8732,6 +8732,12 @@
 
    <tbody>
     <tr>
+     <th><code>document.open()</code>
+
+     <td colspan=2><a href="#open"
+      title=dom-document-open><code>document.open()</code></a>
+
+    <tr>
      <th><dfn id=document.write
       title=dom-document-write><code>document.write()</code></dfn>
 
@@ -8765,6 +8771,20 @@
    argument(s), plus an extra argument consisting of a string containing a
    single line feed character (U+000A).
 
+  <p class=note>The <code title=dom-innerHTML><a
+   href="#innerhtml">innerHTML</a></code> attribute applies to both
+   <code>Element</code> nodes as well as <code>Document</code> nodes. The
+   <code title=dom-outerHTML><a href="#outerhtml">outerHTML</a></code>
+   attribute, on the other hand, only applies to <code>Element</code> nodes.
+
+  <p class=note>When inserted using the <code title=dom-document-write><a
+   href="#document.write">document.write()</a></code> method, <code><a
+   href="#script1">script</a></code> elements execute (typically
+   synchronously), but when inserted using <code title=dom-innerHTML-HTML><a
+   href="#innerhtml0">innerHTML</a></code> and <code
+   title=dom-outerHTML-HTML><a href="#outerhtml0">outerHTML</a></code>
+   attributes, they do not execute at all.
+
   <h4 id=controlling><span class=secno>3.7.1 </span>Controlling the input
    stream</h4>
 
@@ -9099,20 +9119,6 @@
      its place all the <var title="">new children</var> nodes, preserving
      their order.</p>
   </ol>
-
-  <hr>
-
-  <p class=note>The <code title=dom-innerHTML-HTML><a
-   href="#innerhtml0">innerHTML</a></code> attribute applies to both
-   <code>Element</code> nodes as well as <code>Document</code> nodes. The
-   <code title=dom-outerHTML-HTML><a href="#outerhtml0">outerHTML</a></code>
-   attribute, on the other hand, only applies to <code>Element</code> nodes.
-
-  <p class=note><code><a href="#script1">script</a></code> elements inserted
-   using <code title=dom-innerHTML-HTML><a
-   href="#innerhtml0">innerHTML</a></code> and <code
-   title=dom-outerHTML-HTML><a href="#outerhtml0">outerHTML</a></code> do not
-   execute when they are inserted.</p>
   <!-- XXX must make sure we spec that innerHTML causes mutation
   events to fire, but document.write() doesn't. (the latter is already
   req-stated in the parser section, btw) -->
@@ -9250,9 +9256,7 @@
      set, preserving their order.</p>
   </ol>
 
-  <p class=note><code><a href="#script1">script</a></code> elements inserted
-   using <code title=dom-innerHTML-XML>innerHTML</code> do not execute when
-   they are inserted.
+  <hr>
 
   <p>In an XML context, the <dfn id=document.write0
    title=dom-document-write-XML><code>document.write()</code></dfn> method,

Received on Sunday, 10 August 2008 22:45:05 UTC