- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 10 Jun 2011 23:46:46 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv13960 Modified Files: scripting-1.html spec.html Log Message: Explain noscript's non-xml support. (whatwg r6214) [updated by splitter] Index: scripting-1.html =================================================================== RCS file: /sources/public/html5/spec/scripting-1.html,v retrieving revision 1.60 retrieving revision 1.61 diff -u -d -r1.60 -r1.61 --- scripting-1.html 10 Jun 2011 22:46:55 -0000 1.60 +++ scripting-1.html 10 Jun 2011 23:46:44 -0000 1.61 @@ -1437,9 +1437,12 @@ historical reasons, the <code><a href="#the-noscript-element">noscript</a></code> element is handled differently by the <a href="parsing.html#html-parser">HTML parser</a> based on whether <a href="parsing.html#scripting-flag" title="scripting flag">scripting was enabled or not</a> when the parser was invoked.</p><p>The <code><a href="#the-noscript-element">noscript</a></code> element must not be used in <a href="dom.html#xml-documents">XML - documents</a>.</p><p class="note"><strong>The <code><a href="#the-noscript-element">noscript</a></code> element is only - effective in <a href="syntax.html#syntax">the HTML syntax</a>, it has no effect in - <a href="the-xhtml-syntax.html#the-xhtml-syntax">the XHTML syntax</a>.</strong></p><div class="impl"> + documents</a>.</p><p class="note">The <code><a href="#the-noscript-element">noscript</a></code> element is only effective + in <a href="syntax.html#syntax">the HTML syntax</a>, it has no effect in <a href="the-xhtml-syntax.html#the-xhtml-syntax">the XHTML + syntax</a>. This is because the way it works is by essentially + "turning off" the parser when scripts are enabled, so that the + contents of the element are treated as pure text and not as real + elements. XML does not define a mechanism by which to do this.</p><div class="impl"> <p>The <code><a href="#the-noscript-element">noscript</a></code> element has no other requirements. In particular, children of the <code><a href="#the-noscript-element">noscript</a></code> element are not Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1527 retrieving revision 1.1528 diff -u -d -r1.1527 -r1.1528 --- spec.html 10 Jun 2011 22:46:55 -0000 1.1527 +++ spec.html 10 Jun 2011 23:46:44 -0000 1.1528 @@ -347,7 +347,7 @@ <a href="Overview.html">single page HTML</a>, <a href="spec.html">multipage HTML</a>, <a href="author/">web developer edition</a>. -This is revision 1.4979. +This is revision 1.4980. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Friday, 10 June 2011 23:46:48 UTC