- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 10 Jun 2011 22:48:30 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv10164 Modified Files: Overview.html Log Message: Explain noscript's non-xml support. (whatwg r6214) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4979 retrieving revision 1.4980 diff -u -d -r1.4979 -r1.4980 --- Overview.html 10 Jun 2011 22:44:53 -0000 1.4979 +++ Overview.html 10 Jun 2011 22:48:26 -0000 1.4980 @@ -14020,9 +14020,12 @@ historical reasons, the <code><a href="#the-noscript-element">noscript</a></code> element is handled differently by the <a href="#html-parser">HTML parser</a> based on whether <a href="#scripting-flag" title="scripting flag">scripting was enabled or not</a> when the parser was invoked.<p>The <code><a href="#the-noscript-element">noscript</a></code> element must not be used in <a href="#xml-documents">XML - documents</a>.<p class="note"><strong>The <code><a href="#the-noscript-element">noscript</a></code> element is only - effective in <a href="#syntax">the HTML syntax</a>, it has no effect in - <a href="#the-xhtml-syntax">the XHTML syntax</a>.</strong><div class="impl"> + documents</a>.<p class="note">The <code><a href="#the-noscript-element">noscript</a></code> element is only effective + in <a href="#syntax">the HTML syntax</a>, it has no effect in <a href="#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.<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
Received on Friday, 10 June 2011 22:48:32 UTC