- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 24 Sep 2009 09:58:18 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv5983 Modified Files: Overview.html Log Message: Move note to before the examples so it isn't sandwiched (whatwg r3985) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3146 retrieving revision 1.3147 diff -u -d -r1.3146 -r1.3147 --- Overview.html 24 Sep 2009 09:56:06 -0000 1.3146 +++ Overview.html 24 Sep 2009 09:58:15 -0000 1.3147 @@ -11025,7 +11025,10 @@ comments or elements), in tree order. On setting, it must act the same way as the <code>textContent</code> IDL attribute.</p> - </div><div class="example"> + </div><p class="note">When inserted using the <code title="dom-document-write"><a href="#dom-document-write">document.write()</a></code> method, + <code><a href="#script">script</a></code> elements execute (typically synchronously), but + when inserted using <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code> and <code title="dom-outerHTML"><a href="#dom-outerhtml">outerHTML</a></code> attributes, they do not + execute at all.<div class="example"> <p>In this example, two <code><a href="#script">script</a></code> elements are used. One embeds an external script, and the other includes some data.</p> @@ -11045,10 +11048,7 @@ site's search engine to help users who are looking for particular features in their game maps.</p> - </div><p class="note">When inserted using the <code title="dom-document-write"><a href="#dom-document-write">document.write()</a></code> method, - <code><a href="#script">script</a></code> elements execute (typically synchronously), but - when inserted using <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code> and <code title="dom-outerHTML"><a href="#dom-outerhtml">outerHTML</a></code> attributes, they do not - execute at all.<div class="example"> + </div><div class="example"> <p>The following sample shows how a script element can be used to define a function that is then used by other parts of the
Received on Thursday, 24 September 2009 09:58:27 UTC